...
Failing to perform file I/O operations in a secure directory that cannot otherwise be securely performed can result in a broad range of file system vulnerabilities.
Recommendation | Severity | Likelihood |
|---|
Detectable | Repairable | Priority | Level |
|---|---|---|---|
FIO15-C | Medium | Probable | No |
No | P4 | L3 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
| SEI CERT C++ Coding Standard | VOID FIO15-CPP. Ensure that file operations are performed in a secure directory |
| MITRE CWE | CWE-379, Creation of temporary file in directory with insecure permissions CWE-552, Files or directories accessible to external parties |
Bibliography
| [IEEE Std 1003.1:2013] | XSH, System Interfaces, dirnameXSH, System Interfaces, realpath |
| [Viega 2003] | Section 2.4, "Determining Whether a Directory Is Secure" |
...
...