Bug 2264092 (CVE-2024-24814) - CVE-2024-24814 mod_auth_openidc: DoS when using `OIDCSessionType client-cookie` and manipulating cookies
Summary: CVE-2024-24814 mod_auth_openidc: DoS when using `OIDCSessionType client-cooki...
Keywords:
Status: NEW
Alias: CVE-2024-24814
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2264093
Blocks: 2264091
TreeView+ depends on / blocked
 
Reported: 2024-02-13 21:22 UTC by Robb Gatica
Modified: 2024-02-27 06:21 UTC (History)
0 users

Fixed In Version: mod_auth_openidc 2.4.15.2
Doc Type: ---
Doc Text:
A flaw was found in mod_auth_openidc, an OpenID Certified™ authentication and authorization module for the Apache HTTP server. Missing input validation in the mod_auth_openidc_session_chunks cookie value can make the server vulnerable to a denial of service attack. This issue may allow a remote attacker to craft a request that causes the application or system to slow down or crash due to unhandled errors.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-02-13 21:22:09 UTC
mod_auth_openidc is an OpenID Certified™ authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. In affected versions missing input validation on mod_auth_openidc_session_chunks cookie value makes the server vulnerable to a denial of service (DoS) attack. An internal security audit has been conducted and the reviewers found that if they manipulated the value of the mod_auth_openidc_session_chunks cookie to a very large integer, like 99999999, the server struggles with the request for a long time and finally gets back with a 500 error. Making a few requests of this kind caused our server to become unresponsive. Attackers can craft requests that would make the server work very hard (and possibly become unresponsive) and/or crash with minimal effort. This issue has been addressed in version 2.4.15.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

https://github.com/OpenIDC/mod_auth_openidc/commit/4022c12f314bd89d127d1be008b1a80a08e1203d
https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-hxr6-w4gc-7vvv

Comment 1 Robb Gatica 2024-02-13 21:22:40 UTC
Created mod_auth_openidc tracking bugs for this issue:

Affects: fedora-all [bug 2264093]


Note You need to log in before you can comment on or make changes to this bug.