Bug 2163615 (CVE-2023-24021)

Summary: CVE-2023-24021 modsecurity: lacking the complete content in FILES_TMP_CONTENT leads to web application firewall bypass
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: csutherl, hhorak, jclere, jorton, jwon, luhliari, mturk, peholase, pjindal, plodge, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ModSecurity 2.9.7 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in ModSecurity. This issue occurs when FILES_TMP_CONTENT lacks complete content, which can lead to a Web Application Firewall bypass.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-15 21:51:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2163649, 2163650, 2163651, 2163652, 2166936    
Bug Blocks: 2163505    

Description TEJ RATHI 2023-01-24 04:59:45 UTC
In ModSecurity before 2.9.7, FILES_TMP_CONTENT sometimes lacked the complete content. This can lead to a Web Application Firewall bypass.

https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334
https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7
https://github.com/SpiderLabs/ModSecurity/pull/2857

Comment 1 Sandipan Roy 2023-01-24 05:48:25 UTC
Created mod_security tracking bugs for this issue:

Affects: fedora-all [bug 2163649]


Created mod_security3 tracking bugs for this issue:

Affects: fedora-all [bug 2163650]

Comment 7 errata-xmlrpc 2023-08-15 17:37:11 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2023:4628 https://access.redhat.com/errata/RHSA-2023:4628

Comment 8 errata-xmlrpc 2023-08-15 17:40:45 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

Via RHSA-2023:4629 https://access.redhat.com/errata/RHSA-2023:4629

Comment 9 Product Security DevOps Team 2023-08-15 21:51:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-24021