ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- None · Partial · None
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:* | before 2.6.6 | Vulnerable | Trustwave |
| cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* | 11.4 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* | 12.2 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* | 12.3 | Vulnerable | openSUSE |
| cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:a:oracle:http_server:11.1.1.6.0:*:*:*:*:*:*:* | 11.1.1.6.0 | Vulnerable | Oracle |
- cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:* Versions before 2.6.6 Vulnerable ·Trustwave
- cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* Versions 11.4 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* Versions 12.2 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* Versions 12.3 Vulnerable ·openSUSE
- cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:a:oracle:http_server:11.1.1.6.0:*:*:*:*:*:*:* Versions 11.1.1.6.0 Vulnerable ·Oracle
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2751
- 2026-10-03 Alias added: GHSA-38m7-p7j8-c694
References
Advisory 10
- openSUSE-SU-2013:1342
- DSA-2506
- openSUSE-SU-2013:1331
- http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html
- [oss-security] 20120621 Re: mod_security CVE request
- http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html
- [oss-security] 20120621 mod_security CVE request
- MDVSA-2012:118
- MDVSA-2013:150
- openSUSE-SU-2013:1336
Other 3
- http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES
- http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=1918
- http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920
Sources
- CVE-2012-2751 · CVE Program
- CVE-2012-2751 · NVD
- FIRST EPSS
- GHSA-38m7-p7j8-c694 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2751 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences