CVE-2009-3558
PHP < 5.2.10 - open_basedir Restriction Bypass via posix_mkfifo
Title source: llmDescription
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.
References (19)
Core 19
Core References
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Patch mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/11/20/3
Exploit third-party-advisory
x_refsource_sreason
http://securityreason.com/securityalert/6600
Release Notes x_refsource_confirm
http://www.php.net/releases/5_2_12.php
Various Sources mailing-list
x_refsource_mlist
http://news.php.net/php.announce/79
Patch x_refsource_confirm
http://svn.php.net/viewvc?view=revision&revision=288943
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/37821
Various Sources x_refsource_confirm
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/posix/posix.c?view=log
Mailing List vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT4077
Patch mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/11/20/2
Release Notes x_refsource_confirm
http://www.php.net/releases/5_3_1.php
Third Party Advisory vdb-entry
x_refsource_vupen
http://www.vupen.com/english/advisories/2009/3593
Patch mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/11/20/5
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/37412
Various Sources x_refsource_confirm
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/posix/posix.c?view=log
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:302
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:303
Scores
EPSS
0.0444
EPSS Percentile
89.2%
Details
CWE
CWE-264
Status
published
Products (45)
php/php
1.0
php/php
2.0
php/php
2.0b10
php/php
3.0
php/php
3.0.1
php/php
3.0.2
php/php
3.0.3
php/php
3.0.4
php/php
3.0.5
php/php
3.0.6
... and 35 more
Published
Nov 23, 2009
Tracked Since
Feb 18, 2026