CVE-2009-3557: Medium severity php vulnerability
The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safemode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2009-3557?
CVE-2009-3557 is classified as a moderate severity vulnerability that can allow attackers to bypass safe_mode restrictions in PHP.
How do I fix CVE-2009-3557?
To mitigate CVE-2009-3557, upgrade PHP to version 5.2.12 or 5.3.1 or later.
How does CVE-2009-3557 affect PHP applications?
CVE-2009-3557 allows context-dependent attackers to create files in inappropriate directories, which can lead to unauthorized access.
What PHP versions are affected by CVE-2009-3557?
CVE-2009-3557 affects PHP versions before 5.2.12 and 5.3.x before 5.3.1.
Can CVE-2009-3557 lead to further vulnerabilities?
Yes, exploiting CVE-2009-3557 could potentially lead to additional vulnerabilities such as arbitrary file upload or command execution.