Improper handling of exceptional conditions in ModSecurity - CVE-2019-25043

 

Improper handling of exceptional conditions in ModSecurity - CVE-2019-25043

Published: August 21, 2023


Vulnerability identifier: #VU79793
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-25043
CWE-ID: CWE-755
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper handling of errors while parsing key-value pair. A remote attacker can send a specially crafted header to the server and perform a denial of service (DoS) attack, as demonstrated by a "string index out of range" error and worker-process crash for a "Cookie: =abc" header.


Affected software

ModSecurity
Fedora
libmodsecurity

How to mitigate CVE-2019-25043

Install updates from vendor's website.

ModSecurity - update to 3.0.4
libmodsecurity - update to 3.0.9-2.el7

External References

Related Security Bulletins