U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2009-3557 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (11/24/2009)

We do not consider safe_mode / open_basedir restriction bypass issues being security sensitive. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html CVE, Inc., Red Hat
http://marc.info/?l=bugtraq&m=127680701405735&w=2 CVE, Inc., Red Hat
http://news.php.net/php.announce/79 CVE, Inc., Red Hat
http://secunia.com/advisories/37412 CVE, Inc., Red Hat Vendor Advisory 
http://secunia.com/advisories/37821 CVE, Inc., Red Hat
http://secunia.com/advisories/40262 CVE, Inc., Red Hat
http://securityreason.com/securityalert/6601 CVE, Inc., Red Hat Exploit 
http://support.apple.com/kb/HT4077 CVE, Inc., Red Hat
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log CVE, Inc., Red Hat
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log CVE, Inc., Red Hat
http://svn.php.net/viewvc?view=revision&revision=288945 CVE, Inc., Red Hat
http://www.mandriva.com/security/advisories?name=MDVSA-2009:285 CVE, Inc., Red Hat
http://www.mandriva.com/security/advisories?name=MDVSA-2009:302 CVE, Inc., Red Hat
http://www.mandriva.com/security/advisories?name=MDVSA-2009:303 CVE, Inc., Red Hat
http://www.openwall.com/lists/oss-security/2009/11/20/2 CVE, Inc., Red Hat Patch 
http://www.openwall.com/lists/oss-security/2009/11/20/3 CVE, Inc., Red Hat Patch 
http://www.openwall.com/lists/oss-security/2009/11/20/5 CVE, Inc., Red Hat Patch 
http://www.php.net/ChangeLog-5.php CVE, Inc., Red Hat Patch  Vendor Advisory 
http://www.php.net/releases/5_2_12.php CVE, Inc., Red Hat
http://www.php.net/releases/5_3_1.php CVE, Inc., Red Hat Patch  Vendor Advisory 
http://www.vupen.com/english/advisories/2009/3593 CVE, Inc., Red Hat
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396 CVE, Inc., Red Hat

Weakness Enumeration

CWE-ID CWE Name Source
CWE-264 Permissions, Privileges, and Access Controls cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

8 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2009-3557
NVD Published Date:
11/23/2009
NVD Last Modified:
04/08/2025
Source:
Red Hat, Inc.