Vulnerability in PHP
CVE-2009-3557
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 safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.021 (80.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 80.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- PHP — versions 1.0, 2.0, 2.0b10
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2009/11/20/3 (mailing-list, Patch)
- www.php.net/releases/5_2_12.php
- secunia.com/advisories/40262 (third-party-advisory)
- securityreason.com/securityalert/6601 (Exploit, third-party-advisory)
- news.php.net/php.announce/79 (mailing-list)
- marc.info/ (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- secunia.com/advisories/37821 (third-party-advisory)
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.html (vendor-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c