Vulnerability in PHP
CVE-2009-3558
The posix_mkfifo function in ext/posix/posix.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass open_basedir restrictions, and create FIFO files, via the pathname and mode arguments, as demonstrated by creating a .htaccess file.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.021, 81.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 1.0, 2.0, 2.0b10
Weakness classification (CWE)
References
- [oss-security] 20091120 Re: CVE request: php 5.3.1 update (mailing-list, Patch)
- securityreason.com/securityalert/6600 (Exploit, third-party-advisory)
- www.php.net/releases/5_2_12.php
- [php-announce] 20091119 5.3.1 Release announcement (mailing-list)
- svn.php.net/viewvc (Patch)
- MDVSA-2009:285 (vendor-advisory)
- secunia.com/advisories/37821 (third-party-advisory)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/posix/posix.c
- APPLE-SA-2010-03-29-1 (vendor-advisory)
- www.php.net/ChangeLog-5.php