CVE-2012-2751: 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…
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.3% (FIRST EPSS); higher than 88.7% of all records.
- Fixed version: modsecurity-apache (Debian:12) 2.6.6-1; libapache-mod-security (Debian:6.0) 2.5.12-1+squeeze1; apache2-mod_security2 (openSUSE:Tumbleweed) 2.9.0-5.6.
Low priority for now. Upgrade to modsecurity-apache (Debian:12) 2.6.6-1; libapache-mod-security (Debian:6.0) 2.5.12-1+squeeze1; apache2-mod_security2 (openSUSE:Tumbleweed) 2.9.0-5.6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 22, 2012
- Updated
- Jun 16, 2026
- EPSS
- 3.3% · 88th percentile
- CWE
- —
Report tools
Action score
18
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| trustwave | modsecurity | cpe:2.3:a:trustwave:modsecurity |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| oracle | http server | cpe:2.3:a:oracle:http_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux6.0
- debian debian linux7.0
- opensuse opensuse11.4
- opensuse opensuse12.2
- opensuse opensuse12.3
- oracle http server11.1.1.6.0
- trustwave modsecuritybefore 2.6.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | modsecurity-apache | before 2.6.6-1 | 2.6.6-1 |
| Debian:6.0 | libapache-mod-security | before 2.5.12-1+squeeze1 | 2.5.12-1+squeeze1 |
| openSUSE:Tumbleweed | apache2-mod_security2 | before 2.9.0-5.6 | 2.9.0-5.6 |
Same product
trustwave: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-27110Libmodsecurity3 has possible bypass of encoded HTML entities31Monitor
- CVE-2013-1915ModSecurity before 2.7.3 allows remote attackers to read arbitrary files, send HTTP requests to intranet servers, or cause a denial of…31Monitor
- CVE-2025-47947ModSecurity Has Possible DoS Vulnerability30Monitor
Published before and after this one in the same product
- ← EarlierCVE-2009-1903Jun 3, 2009 · The PDF XSS protection feature in ModSecurity before 2.5.8 allows remote attackers to cause a denial of service (Apache httpd crash) via a…18Monitor
- ← EarlierCVE-2009-5031Jul 22, 2012 · ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass…18Monitor
- Later →CVE-2012-4528Dec 28, 2012 · The mod_security2 module before 2.7.0 for the Apache HTTP Server allows remote attackers to bypass rules, and deliver arbitrary POST data…24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libapache-mod-security | 2.5.12-1+squeeze1 · Debian:6.0 | Package registry (OSV) |
| debian:modsecurity-apache | 2.6.6-1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2-mod_security2 | 2.9.0-5.6 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- lists.opensuse.org/opensuse-updates/2013-08/msg00020.html
- lists.opensuse.org/opensuse-updates/2013-08/msg00025.html
- lists.opensuse.org/opensuse-updates/2013-08/msg00031.html
- mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES
- mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920&r2=1919&pathrev=1920
- mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918&r2=1917&pathrev=1918
- secunia.com/advisories/49576
- secunia.com/advisories/49782
- www.debian.org/security/2012/dsa-2506
- www.mandriva.com/security/advisories?name=MDVSA-2012:118
- www.mandriva.com/security/advisories?name=MDVSA-2013:150
- www.openwall.com/lists/oss-security/2012/06/22/1
- www.openwall.com/lists/oss-security/2012/06/22/2
- www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html
- www.securityfocus.com/bid/54156
Vendor advisories and official records. Exploit/PoC links are deliberately left out.