National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2009-4018 Detail

Current Description

The proc_open function in ext/standard/proc_open.c in PHP before 5.2.11 and 5.3.x before 5.3.1 does not enforce the (1) safe_mode_allowed_env_vars and (2) safe_mode_protected_env_vars directives, which allows context-dependent attackers to execute programs with an arbitrary environment via the env parameter, as demonstrated by a crafted value of the LD_LIBRARY_PATH environment variable.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

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

Vendor Statements (disclaimer)

Official Statement from Red Hat (11/30/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://bugs.php.net/bug.php?id=49026 Exploit Patch
http://marc.info/?l=bugtraq&m=127680701405735&w=2
http://marc.info/?l=oss-security&m=125886770008678&w=2 Patch
http://marc.info/?l=oss-security&m=125897935330618&w=2 Patch
http://svn.php.net/viewvc/?view=revision&revision=286360 Patch
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360 Patch
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360 Patch
http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995
http://www.mandriva.com/security/advisories?name=MDVSA-2009:303
http://www.openwall.com/lists/oss-security/2009/11/23/15 Patch
http://www.php.net/ChangeLog-5.php
http://www.securityfocus.com/bid/37138
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7256

Weakness Enumeration

CWE-ID CWE Name Source
CWE-264 Permissions, Privileges, and Access Controls NIST  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:php:php:1.0
     Show Matching CPE(s)
 cpe:/a:php:php:2.0
     Show Matching CPE(s)
 cpe:/a:php:php:2.0b10
     Show Matching CPE(s)
 cpe:/a:php:php:3.0
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.6
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.7
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.8
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.9
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.10
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.11
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.12
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.13
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.14
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.15
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.16
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.17
     Show Matching CPE(s)
 cpe:/a:php:php:3.0.18
     Show Matching CPE(s)
 cpe:/a:php:php:4
     Show Matching CPE(s)
 cpe:/a:php:php:4.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta3
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta4
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:beta_4_patch1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.1:patch1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.1:patch2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.3:patch1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.4:patch1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7:rc3
     Show Matching CPE(s)
 cpe:/a:php:php:4.0.7:rc4
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.1.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.2::dev
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.2.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.8
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.9
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.10
     Show Matching CPE(s)
 cpe:/a:php:php:4.3.11
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.0
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.1
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.2
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.3
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.4
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.5
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.6
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.7
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.8
     Show Matching CPE(s)
 cpe:/a:php:php:4.4.9
     Show Matching CPE(s)
 cpe:/a:php:php:5
     Show Matching CPE(s)
 cpe:/a:php:php:5.0:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0:rc3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:beta4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.0:rc3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.0.5
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.0
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.1
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.2
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.3
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.4
     Show Matching CPE(s)
 cpe:/a:php:php:5.1.5
     Show Matching CPE(s)
Showing 100 of 110 CPE Match Criteria, view all CPEs here


Change History

7 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2009-4018
NVD Published Date:
11/29/2009
NVD Last Modified:
10/30/2018