...
Code Block | ||
---|---|---|
| ||
sprintf(buffer, "/bin / mail %s < /tmp/email", addr); system(buffer); |
...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
STR02-A | 2 (medium) | 3 (likely) | 2 (medium) | P12 | L1 |
Related Vulnerabilities
Search for Examples of vulnerabilities resulting from the violation of this recommendation can be found rule on the CERT website.
References
Wiki Markup |
---|
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section 7.20.4.6, "The system function" \[[Viega 03|AA. C References#Viega 03]\] \[[VU#881872|AA. C References#VU881872]\] |