← Vulnerability feed

Vulnerability record · CVE-2012-2751 · published 22 July 2012

CVE-2012-2751: Trustwave modsecurity vulnerability

Trustwave · Modsecurity

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 2.0 Medium EPSS 3.3% · top 11.9%
4.3CVSS 2.0 base score
3.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
32References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html Third Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00020.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00025.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00031.html Mailing ListThird Party Advisory
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES Broken Link
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920 Broken Link
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=191 Broken Link
http://secunia.com/advisories/49576 Third Party Advisory
http://secunia.com/advisories/49782 Third Party Advisory
http://www.debian.org/security/2012/dsa-2506 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:118 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/06/22/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2012/06/22/2 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html Third Party Advisory
http://www.securityfocus.com/bid/54156 Third Party AdvisoryVDB Entry
http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html Third Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00020.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00025.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2013-08/msg00031.html Mailing ListThird Party Advisory
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES Broken Link
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920 Broken Link
http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=191 Broken Link
http://secunia.com/advisories/49576 Third Party Advisory
http://secunia.com/advisories/49782 Third Party Advisory
http://www.debian.org/security/2012/dsa-2506 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:118 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/06/22/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2012/06/22/2 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html Third Party Advisory
http://www.securityfocus.com/bid/54156 Third Party AdvisoryVDB Entry

Track CVE-2012-2751 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2026-21962Oracle HTTP Server and WebLogic Proxy Plug-in improper access controlOracle HTTP Server and the WebLogic Server Proxy Plug-in (for Apache HTTP Server and IIS) contain an improper access control flaw (CWE-284) in suppor…KEVEPSS 71%analysed10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2012-2751), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.