CVE-2024-24814: Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc
modauthopenidc 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 modauthopenidcsessionchunks 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 modauthopenidcsessionchunks 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/mod_auth_openidcto a version that resolves this vulnerability.Fixed in 2.4.15.2 - Upgrade
Upgrade
OpenIDC/mod_auth_openidcto a version that resolves this vulnerability.Fixed in 2.4.15.2Patch GHSA-hxr6-w4gc-7vvv
Event History
Frequently Asked Questions
What is the severity of CVE-2024-24814?
CVE-2024-24814 has not been assigned a specific severity score yet.
How do I fix CVE-2024-24814?
To fix CVE-2024-24814, upgrade mod_auth_openidc to version 2.4.15.2 or later.
Which versions of mod_auth_openidc are affected by CVE-2024-24814?
All versions of mod_auth_openidc from 2.0.0 up to but not including 2.4.15.2 are affected by CVE-2024-24814.
Is CVE-2024-24814 a serious threat to my web server?
CVE-2024-24814 could potentially lead to unauthorized access if exploited, making it a potential threat depending on your web server configuration.
What can happen if CVE-2024-24814 is not fixed?
If CVE-2024-24814 is not fixed, it may allow attackers to exploit the vulnerability to gain unauthorized access to session data.