{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2009-06-18T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-01-17T19:57:01",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "name": "SSRT100856",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664"
                },
                {
                    "name": "FEDORA-2012-6869",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=54374"
                },
                {
                    "name": "SUSE-SU-2012:0604",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=49683"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc?view=revision&revision=321664"
                },
                {
                    "name": "[oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2012/03/13/4"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=48597"
                },
                {
                    "name": "SUSE-SU-2012:0598",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/"
                },
                {
                    "name": "APPLE-SA-2012-09-19-2",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_APPLE"
                    ],
                    "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://support.apple.com/kb/HT5501"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/ChangeLog-5.php#5.4.0"
                },
                {
                    "name": "FEDORA-2012-6907",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html"
                },
                {
                    "name": "HPSBUX02791",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                },
                {
                    "name": "DSA-2465",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "http://www.debian.org/security/2012/dsa-2465"
                },
                {
                    "name": "FEDORA-2012-6911",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=55500"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "secalert@redhat.com",
                    "ID": "CVE-2012-1172",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "SSRT100856",
                            "refsource": "HP",
                            "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                        },
                        {
                            "name": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664",
                            "refsource": "CONFIRM",
                            "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664"
                        },
                        {
                            "name": "FEDORA-2012-6869",
                            "refsource": "FEDORA",
                            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html"
                        },
                        {
                            "name": "https://bugs.php.net/bug.php?id=54374",
                            "refsource": "CONFIRM",
                            "url": "https://bugs.php.net/bug.php?id=54374"
                        },
                        {
                            "name": "SUSE-SU-2012:0604",
                            "refsource": "SUSE",
                            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html"
                        },
                        {
                            "name": "https://bugs.php.net/bug.php?id=49683",
                            "refsource": "MISC",
                            "url": "https://bugs.php.net/bug.php?id=49683"
                        },
                        {
                            "name": "https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/",
                            "refsource": "MISC",
                            "url": "https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/"
                        },
                        {
                            "name": "http://svn.php.net/viewvc?view=revision&revision=321664",
                            "refsource": "CONFIRM",
                            "url": "http://svn.php.net/viewvc?view=revision&revision=321664"
                        },
                        {
                            "name": "[oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern",
                            "refsource": "MLIST",
                            "url": "http://openwall.com/lists/oss-security/2012/03/13/4"
                        },
                        {
                            "name": "https://bugs.php.net/bug.php?id=48597",
                            "refsource": "MISC",
                            "url": "https://bugs.php.net/bug.php?id=48597"
                        },
                        {
                            "name": "SUSE-SU-2012:0598",
                            "refsource": "SUSE",
                            "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html"
                        },
                        {
                            "name": "http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/",
                            "refsource": "MISC",
                            "url": "http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/"
                        },
                        {
                            "name": "APPLE-SA-2012-09-19-2",
                            "refsource": "APPLE",
                            "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
                        },
                        {
                            "name": "http://support.apple.com/kb/HT5501",
                            "refsource": "CONFIRM",
                            "url": "http://support.apple.com/kb/HT5501"
                        },
                        {
                            "name": "https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf",
                            "refsource": "MISC",
                            "url": "https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf"
                        },
                        {
                            "name": "http://www.php.net/ChangeLog-5.php#5.4.0",
                            "refsource": "CONFIRM",
                            "url": "http://www.php.net/ChangeLog-5.php#5.4.0"
                        },
                        {
                            "name": "FEDORA-2012-6907",
                            "refsource": "FEDORA",
                            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html"
                        },
                        {
                            "name": "HPSBUX02791",
                            "refsource": "HP",
                            "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                        },
                        {
                            "name": "DSA-2465",
                            "refsource": "DEBIAN",
                            "url": "http://www.debian.org/security/2012/dsa-2465"
                        },
                        {
                            "name": "FEDORA-2012-6911",
                            "refsource": "FEDORA",
                            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html"
                        },
                        {
                            "name": "https://bugs.php.net/bug.php?id=55500",
                            "refsource": "CONFIRM",
                            "url": "https://bugs.php.net/bug.php?id=55500"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T18:53:35.660Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "SSRT100856",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/main/rfc1867.c?r1=321664&r2=321663&pathrev=321664"
                    },
                    {
                        "name": "FEDORA-2012-6869",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=54374"
                    },
                    {
                        "name": "SUSE-SU-2012:0604",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=49683"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc?view=revision&revision=321664"
                    },
                    {
                        "name": "[oss-security] 20120313 Re: CVE request for PHP 5.3.x Corrupted $_FILES indices lead to security concern",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2012/03/13/4"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=48597"
                    },
                    {
                        "name": "SUSE-SU-2012:0598",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00007.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://isisblogs.poly.edu/2011/08/11/php-not-properly-checking-params/"
                    },
                    {
                        "name": "APPLE-SA-2012-09-19-2",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_APPLE",
                            "x_transferred"
                        ],
                        "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://support.apple.com/kb/HT5501"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://students.mimuw.edu.pl/~ai292615/php_multipleupload_overwrite.pdf"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/ChangeLog-5.php#5.4.0"
                    },
                    {
                        "name": "FEDORA-2012-6907",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080041.html"
                    },
                    {
                        "name": "HPSBUX02791",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=134012830914727&w=2"
                    },
                    {
                        "name": "DSA-2465",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "http://www.debian.org/security/2012/dsa-2465"
                    },
                    {
                        "name": "FEDORA-2012-6911",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080037.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=55500"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2012-1172",
        "datePublished": "2012-05-24T00:00:00",
        "dateReserved": "2012-02-14T00:00:00",
        "dateUpdated": "2024-08-06T18:53:35.660Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}