CVE-2009-3557

N/A Unknown
Published: November 23, 2009 Modified: April 23, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://news.php.net/php.announce/79
Source: secalert@redhat.com
http://secunia.com/advisories/37412
Source: secalert@redhat.com
Vendor Advisory
http://secunia.com/advisories/37821
Source: secalert@redhat.com
http://secunia.com/advisories/40262
Source: secalert@redhat.com
http://securityreason.com/securityalert/6601
Source: secalert@redhat.com
Exploit
http://support.apple.com/kb/HT4077
Source: secalert@redhat.com
http://www.php.net/ChangeLog-5.php
Source: secalert@redhat.com
Patch Vendor Advisory
http://www.php.net/releases/5_2_12.php
Source: secalert@redhat.com
http://www.php.net/releases/5_3_1.php
Source: secalert@redhat.com
Patch Vendor Advisory
http://marc.info/?l=bugtraq&m=127680701405735&w=2
Source: af854a3a-2127-422b-91ae-364da2661108
http://news.php.net/php.announce/79
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/37412
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://secunia.com/advisories/37821
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/40262
Source: af854a3a-2127-422b-91ae-364da2661108
http://securityreason.com/securityalert/6601
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
http://support.apple.com/kb/HT4077
Source: af854a3a-2127-422b-91ae-364da2661108
http://svn.php.net/viewvc?view=revision&revision=288945
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDVSA-2009:302
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDVSA-2009:303
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2009/11/20/2
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://www.openwall.com/lists/oss-security/2009/11/20/3
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://www.openwall.com/lists/oss-security/2009/11/20/5
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://www.php.net/ChangeLog-5.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.php.net/releases/5_2_12.php
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.php.net/releases/5_3_1.php
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
http://www.vupen.com/english/advisories/2009/3593
Source: af854a3a-2127-422b-91ae-364da2661108

44 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
3.5%
88th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php