modsecurity-apache — security advisory
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.
- Products
- modsecurity-apache
- Affected versions
- Not specified
- Fixed versions
- 2.6.6-1
- CVEs
- CVE-2012-2751
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:04 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2012-2751
modsecurity-apache
Fixed versions: 2.6.6-1
modsecurity-apache
Fixed versions: 2.6.6-1
modsecurity-apache
Fixed versions: 2.6.6-1
Complete source record
{
"id": "b1b58d75045682a3a361a6cd4428a389ca3fdd62fedc4dc6c1968768227bd647",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-2751",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2012-2751",
"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.",
"evidence": "osv:DEBIAN-CVE-2012-2751",
"products": [
{
"name": {
"value": "modsecurity-apache",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.6-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "modsecurity-apache",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.6-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "modsecurity-apache",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.6-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2012-2751",
"aliases": [
"DEBIAN-CVE-2012-2751"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.6-1"
}
]
}
],
"package": {
"name": "modsecurity-apache",
"purl": "pkg:deb/debian/modsecurity-apache?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2751.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.6-1"
}
]
}
],
"package": {
"name": "modsecurity-apache",
"purl": "pkg:deb/debian/modsecurity-apache?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2751.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.6-1"
}
]
}
],
"package": {
"name": "modsecurity-apache",
"purl": "pkg:deb/debian/modsecurity-apache?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2751.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:34.225238567Z",
"provider": "osv",
"upstream": [
"CVE-2012-2751"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2012-2751"
]
},
"related_cves": [
{
"value": "CVE-2012-2751",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 417682,
"published_at": "2012-07-22T16:55:27.96+00:00"
}