You are viewing this page in an unauthorized frame window.

This is a potential security issue, you are being redirected to https://nvd.nist.gov

You have JavaScript disabled. This site requires JavaScript to be enabled for complete site functionality.

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.

  1. Vulnerabilities

CVE-2009-3557 Detail

Deferred

This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.

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.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD assessment not yet provided.
CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology
NIST: NVD
Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:P/A:N)

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

CVE Modified by CVE 11/20/2024 8:07:39 PM

Action Type Old Value New Value
Added Reference
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html


Added Reference
http://marc.info/?l=bugtraq&m=127680701405735&w=2


Added Reference
http://marc.info/?l=bugtraq&m=127680701405735&w=2


Added Reference
http://news.php.net/php.announce/79


Added Reference
http://secunia.com/advisories/37412


Added Reference
http://secunia.com/advisories/37821


Added Reference
http://secunia.com/advisories/40262


Added Reference
http://securityreason.com/securityalert/6601


Added Reference
http://support.apple.com/kb/HT4077


Added Reference
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log


Added Reference
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log


Added Reference
http://svn.php.net/viewvc?view=revision&revision=288945


Added Reference
http://www.mandriva.com/security/advisories?name=MDVSA-2009:285


Added Reference
http://www.mandriva.com/security/advisories?name=MDVSA-2009:302


Added Reference
http://www.mandriva.com/security/advisories?name=MDVSA-2009:303


Added Reference
http://www.openwall.com/lists/oss-security/2009/11/20/2


Added Reference
http://www.openwall.com/lists/oss-security/2009/11/20/3


Added Reference
http://www.openwall.com/lists/oss-security/2009/11/20/5


Added Reference
http://www.php.net/ChangeLog-5.php


Added Reference
http://www.php.net/releases/5_2_12.php


Added Reference
http://www.php.net/releases/5_3_1.php


Added Reference
http://www.vupen.com/english/advisories/2009/3593


Added Reference
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396


CVE Modified by Red Hat, Inc. 5/13/2024 10:10:47 PM

Action Type Old Value New Value

CPE Deprecation Remap by NIST 10/30/2018 12:26:20 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:php:php:4.2:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*


CPE Deprecation Remap by NIST 10/30/2018 12:26:21 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:php:php:4.2.4:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*


CPE Deprecation Remap by NIST 10/30/2018 12:25:35 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:php:php:4.1.3:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*


CPE Deprecation Remap by NIST 10/30/2018 12:25:35 PM

Action Type Old Value New Value
Changed CPE Configuration
OR
 *cpe:2.3:a:php:php:4.3:*:*:*:*:*:*:*


OR
 *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*


CVE Modified by Red Hat, Inc. 9/18/2017 9:29:40 PM

Action Type Old Value New Value
Added Reference
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396 [No Types Assigned]


Removed Reference
http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:7396 [No Types Assigned]


Initial CVE Analysis 11/23/2009 2:18:00 PM

Action Type Old Value New Value

Quick Info

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

AltStyle によって変換されたページ (->オリジナル) /