CVE-2012-2751

Description

ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the beginning of a request parameter value in the Content-Disposition field of a request with a multipart/form-data Content-Type header, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks. NOTE: this vulnerability exists because of an incomplete fix for CVE-2009-5031.

4.3
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 3.19% Top 15%
Vendor Advisory opensuse.org Vendor Advisory debian.org Vendor Advisory opensuse.org Vendor Advisory mandriva.com Vendor Advisory mandriva.com Vendor Advisory opensuse.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://lists.opensuse.org/opensuse-updates/2013-08/msg00031.html mailing list third party advisory vendor advisory
http://www.securityfocus.com/bid/54156 vdb entry third party advisory
http://www.debian.org/security/2012/dsa-2506 third party advisory vendor advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00020.html mailing list third party advisory vendor advisory
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES broken link
http://secunia.com/advisories/49782 third party advisory
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=1918 broken link
http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html third party advisory
http://www.openwall.com/lists/oss-security/2012/06/22/2 third party advisory mailing list
http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html third party advisory
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920 broken link
http://www.openwall.com/lists/oss-security/2012/06/22/1 third party advisory mailing list
http://www.mandriva.com/security/advisories?name=MDVSA-2012:118 third party advisory vendor advisory
http://secunia.com/advisories/49576 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 third party advisory vendor advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00025.html mailing list third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2012-2751?
CVE-2012-2751 has been scored as a medium severity vulnerability.
How to fix CVE-2012-2751?
To fix CVE-2012-2751, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2012-2751 being actively exploited in the wild?
It is possible that CVE-2012-2751 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~3% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.