Input validation error in Trustwave ModSecurity



| Updated: 2020-08-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2009-5031
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
ModSecurity
Server applications / IDS/IPS systems, Firewalls and proxy servers

Vendor Trustwave

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU43809

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2009-5031

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks via a single quote in a request parameter in the Content-Disposition field of a request with a multipart/form-data Content-Type header.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ModSecurity: 2.0.0 - 2.5.9

CPE2.3 External links

https://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html
https://lists.opensuse.org/opensuse-updates/2013-08/msg00020.html
https://lists.opensuse.org/opensuse-updates/2013-08/msg00025.html
https://lists.opensuse.org/opensuse-updates/2013-08/msg00031.html
https://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES
https://secunia.com/advisories/49576
https://www.openwall.com/lists/oss-security/2012/06/22/1
https://www.openwall.com/lists/oss-security/2012/06/22/2
https://www.securityfocus.com/bid/54156
https://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
https://www.modsecurity.org/fisheye/browse/modsecurity/m2/branches/2.5.x/apache2/msc_multipart.c?r2=1419&r1=1366


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###