{"id":"CVE-2012-2751","aliases":["DEBIAN-CVE-2012-2751","DSA-2506-1","EUVD-2012-2731","GHSA-38m7-p7j8-c694","openSUSE-SU-2024:10034-1"],"status":"published","title":"ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the...","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03303,"percentile":0.88611,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2012-07-02T00:00:00Z","modified":"2026-10-23T17:47:34Z","fixes":[{"ecosystem":"Debian:12","package":"modsecurity-apache","fixed_in":["2.6.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"modsecurity-apache","fixed_in":["2.6.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"modsecurity-apache","fixed_in":["2.6.6-1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"libapache-mod-security","fixed_in":["2.5.12-1+squeeze1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"modsecurity-apache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"modsecurity-apache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"modsecurity-apache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.6-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"libapache-mod-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.12-1+squeeze1"}]}],"versions":["2.5.12-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"apache2-mod_security2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-5.6"}]}],"bundled":5}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"opensuse","product":"opensuse"},{"vendor":"oracle","product":"http_server"},{"vendor":"trustwave","product":"modsecurity"}],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-08/msg00031.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.securityfocus.com/bid/54156","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.debian.org/security/2012/dsa-2506","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-08/msg00020.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/49782","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/apache2/msc_multipart.c?r1=1918\u0026r2=1917\u0026pathrev=1918","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","web"]},{"url":"http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/06/22/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/trunk/CHANGES?r1=1920\u0026r2=1919\u0026pathrev=1920","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/06/22/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:118","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://secunia.com/advisories/49576","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:150","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-08/msg00025.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2751"},{"url":"https://github.com/advisories/GHSA-38m7-p7j8-c694"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-2751","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2009-5031","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-2751","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4528","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1915","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-2765","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-2751","description":"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.","status":"published","published":"2012-07-22T16:00:00Z","modified":"2024-08-06T19:42:32.451Z","updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-2731","description":"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.","status":"published","published":"2012-07-22T16:00:00Z","modified":"2024-08-06T19:42:32Z","updated_at":"2026-11-03T01:56:13.373355Z"}],"ghsa":[{"id":"GHSA-38m7-p7j8-c694","title":"ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the...","description":"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.","status":"published","published":"2022-05-13T01:11:43Z","modified":"2023-02-01T05:03:43Z","updated_at":"2026-11-02T14:50:06.238998Z"}],"nvd":[{"id":"CVE-2012-2751","description":"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.","status":"published","published":"2012-07-22T16:55:27.96Z","modified":"2026-06-16T23:42:02.19Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:14.774945Z"}],"osv":[{"id":"CVE-2012-2751","description":"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.","status":"published","published":"2012-07-22T16:55:27Z","modified":"2026-04-10T03:42:21.833955Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-2751","description":"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.","status":"published","published":"2012-07-22T16:55:27.96Z","modified":"2026-10-23T17:47:34.225238567Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2506-1","title":"libapache-mod-security - modsecurity bypass","status":"published","published":"2012-07-02T00:00:00Z","modified":"2026-03-09T01:22:11.98005Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10034-1","title":"apache2-mod_security2-2.9.0-5.6 on GA media","description":"These are all security issues fixed in the apache2-mod_security2-2.9.0-5.6 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:03:11.908188Z","updated_at":"2026-11-02T16:58:33.135986Z"}]}}
