{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2012-05-06T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-01-04T20:57:01",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=61910"
                },
                {
                    "name": "SUSE-SU-2012:0721",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html"
                },
                {
                    "name": "SUSE-SU-2012:0840",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html"
                },
                {
                    "name": "49014",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/49014"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569"
                },
                {
                    "name": "SSRT100992",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/"
                },
                {
                    "name": "VU#520827",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_CERT-VN"
                    ],
                    "url": "http://www.kb.cert.org/vuls/id/520827"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://www.php.net/archive/2012.php#id2012-05-06-1"
                },
                {
                    "name": "php-phpwrapperfcgi-code-exec(75652)",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_XF"
                    ],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75652"
                },
                {
                    "name": "HPSBMU02900",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T19:34:23.818Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=61910"
                    },
                    {
                        "name": "SUSE-SU-2012:0721",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html"
                    },
                    {
                        "name": "SUSE-SU-2012:0840",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html"
                    },
                    {
                        "name": "49014",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/49014"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569"
                    },
                    {
                        "name": "SSRT100992",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/"
                    },
                    {
                        "name": "VU#520827",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_CERT-VN",
                            "x_transferred"
                        ],
                        "url": "http://www.kb.cert.org/vuls/id/520827"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/archive/2012.php#id2012-05-06-1"
                    },
                    {
                        "name": "php-phpwrapperfcgi-code-exec(75652)",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_XF",
                            "x_transferred"
                        ],
                        "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75652"
                    },
                    {
                        "name": "HPSBMU02900",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2012-2335",
        "datePublished": "2012-05-11T10:00:00",
        "dateReserved": "2012-04-19T00:00:00",
        "dateUpdated": "2024-08-06T19:34:23.818Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}