Buffer overflow in ModSecurity



Published: 2023-02-09
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-24021
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ModSecurity
Server applications / IDS/IPS systems, Firewalls and proxy servers

Vendor Trustwave

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU72086

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-24021

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when executing rules that read the FILES_TMP_CONTENT collection. A remote attacker can upload a specially crafted file on the system, trigger memory corruption and execute arbitrary code on the target system or bypass implemented WAF protection rules.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

ModSecurity: 2.9.0 - 2.9.6

External links

http://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334
http://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7
http://github.com/SpiderLabs/ModSecurity/pull/2857
http://lists.debian.org/debian-lts-announce/2023/01/msg00023.html


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###