{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2009-09-16T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2017-09-18T12:57:01",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "name": "40262",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/40262"
                },
                {
                    "name": "oval:org.mitre.oval:def:7256",
                    "tags": [
                        "vdb-entry",
                        "signature",
                        "x_refsource_OVAL"
                    ],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7256"
                },
                {
                    "name": "HPSBUX02543",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360"
                },
                {
                    "name": "[oss-security] 20091123 Re: CVE request: php 5.3.1 -  proc_open() bypass PHP Bug #49026 [was: Re: CVE request: php 5.3.1 update]",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://marc.info/?l=oss-security&m=125897935330618&w=2"
                },
                {
                    "name": "41490",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/41490"
                },
                {
                    "name": "[oss-security] 20091123 Re: CVE request: php 5.3.1 -  proc_open() bypass PHP Bug #49026 [was: Re: CVE request: php 5.3.1 update]",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/11/23/15"
                },
                {
                    "name": "HPSBMA02568",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/ChangeLog-5.php"
                },
                {
                    "name": "37138",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/37138"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://bugs.php.net/bug.php?id=49026"
                },
                {
                    "name": "SSRT100219",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995"
                },
                {
                    "name": "41480",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/41480"
                },
                {
                    "name": "[oss-security] 20091122 Re: CVE request: php 5.3.1 update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://marc.info/?l=oss-security&m=125886770008678&w=2"
                },
                {
                    "name": "SSRT100152",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/?view=revision&revision=286360"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360"
                },
                {
                    "name": "MDVSA-2009:303",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:303"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-07T06:45:50.944Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "40262",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/40262"
                    },
                    {
                        "name": "oval:org.mitre.oval:def:7256",
                        "tags": [
                            "vdb-entry",
                            "signature",
                            "x_refsource_OVAL",
                            "x_transferred"
                        ],
                        "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7256"
                    },
                    {
                        "name": "HPSBUX02543",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360"
                    },
                    {
                        "name": "[oss-security] 20091123 Re: CVE request: php 5.3.1 -  proc_open() bypass PHP Bug #49026 [was: Re: CVE request: php 5.3.1 update]",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=oss-security&m=125897935330618&w=2"
                    },
                    {
                        "name": "41490",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/41490"
                    },
                    {
                        "name": "[oss-security] 20091123 Re: CVE request: php 5.3.1 -  proc_open() bypass PHP Bug #49026 [was: Re: CVE request: php 5.3.1 update]",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/11/23/15"
                    },
                    {
                        "name": "HPSBMA02568",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/ChangeLog-5.php"
                    },
                    {
                        "name": "37138",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/37138"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://bugs.php.net/bug.php?id=49026"
                    },
                    {
                        "name": "SSRT100219",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c02512995"
                    },
                    {
                        "name": "41480",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/41480"
                    },
                    {
                        "name": "[oss-security] 20091122 Re: CVE request: php 5.3.1 update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=oss-security&m=125886770008678&w=2"
                    },
                    {
                        "name": "SSRT100152",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/?view=revision&revision=286360"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/proc_open.c?r1=286360&r2=286359&pathrev=286360"
                    },
                    {
                        "name": "MDVSA-2009:303",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:303"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2009-4018",
        "datePublished": "2009-11-27T19:00:00",
        "dateReserved": "2009-11-20T00:00:00",
        "dateUpdated": "2024-08-07T06:45:50.944Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}