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 nvd@nist.gov.

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

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:
11/20/2024
Source:
Red Hat, Inc.