CVE-2012-2751
ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the...
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2012-2751- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2751- Updated
- 2026-11-02
EUVDEUVD-2012-2731 No score
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.
- Record
EUVD-2012-2731- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-38m7-p7j8-c694 No score
ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the...
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.
- Record
GHSA-38m7-p7j8-c694- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-2751- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-2751 No score
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.
- Record
DEBIAN-CVE-2012-2751- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10034-1 No score
apache2-mod_security2-2.9.0-5.6 on GA media
These are all security issues fixed in the apache2-mod_security2-2.9.0-5.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10034-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
modsecurity-apacheDebian:12 |
before 2.6.6-1 | 2.6.6-1 |
modsecurity-apacheDebian:13 |
before 2.6.6-1 | 2.6.6-1 |
modsecurity-apacheDebian:14 |
before 2.6.6-1 | 2.6.6-1 |
libapache-mod-securityDebian:6.0 |
before 2.5.12-1+squeeze1, plus listed versions 2.5.12-1 |
2.5.12-1+squeeze1 |
apache2-mod_security2openSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 2.9.0-5.6 | 2.9.0-5.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-2751 is a medium vulnerability (CVSS 4.3) in Trustwave Modsecurity, published July 2, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.30%, the 88th percentile. Fixed in modsecurity-apache 2.6.6-1.
References
lists.opensuse.org/opensuse-updates/2013-08/msg00031.html
securityfocus.com/bid/54156
debian.org/security/2012/dsa-2506
lists.opensuse.org/opensuse-updates/2013-08/msg00020.html
mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES
secunia.com/advisories/49782
Show 18 moreShow less
mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=1918
blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html
openwall.com/lists/oss-security/2012/06/22/2
oracle.com/technetwork/topics/security/cpuapr2013-1899555.html
mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920
openwall.com/lists/oss-security/2012/06/22/1
mandriva.com/security/advisories?name=MDVSA-2012:118
secunia.com/advisories/49576
mandriva.com/security/advisories?name=MDVSA-2013:150
lists.opensuse.org/opensuse-updates/2013-08/msg00025.html
nvd.nist.gov/vuln/detail/CVE-2012-2751
github.com/advisories/GHSA-38m7-p7j8-c694
security-tracker.debian.org/tracker/CVE-2012-2751
suse.com/security/cve/CVE-2009-5031
suse.com/security/cve/CVE-2012-2751
suse.com/security/cve/CVE-2012-4528
suse.com/security/cve/CVE-2013-1915
suse.com/security/cve/CVE-2013-2765