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 th
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
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.3%
Affected systems
| 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 servi31Monitor
- CVE-2025-47947ModSecurity Has Possible DoS Vulnerability30Monitor
- CVE-2024-46292A buffer overflow in modsecurity v3.0.12 allows attackers to cause a Denial of Service (DoS) via a crafted input inserted into the name para30Monitor
- CVE-2023-24021Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer over30Monitor
- CVE-2012-4528The mod_security2 module before 2.7.0 for the Apache HTTP Server allows remote attackers to bypass rules, and deliver arbitrary POST data to24Monitor
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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html
- 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.