Vulnerability · Published Feb 13, 2024 · Assigned by GitHub_M
CVE-2024-24814Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc
High 7.5
In plain English
A high-severity uncontrolled resource consumption in mod_auth_openidc from OpenIDC. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cjose | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2024:5289 |
| AlmaLinux:8 | cjose | 0.6.1-4.module_el8.10.0+3881+234adf82 | ALSA-2024:5289 |
| AlmaLinux:8 | cjose-devel | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2024:5289 |
| AlmaLinux:8 | cjose-devel | 0.6.1-4.module_el8.10.0+3881+234adf82 | ALSA-2024:5289 |
| AlmaLinux:8 | mod_auth_openidc | 2.4.9.4-6.module_el8.10.0+3881+234adf82 | ALSA-2024:5289 |
| AlmaLinux:9 | mod_auth_openidc | 2.4.10-1.el9 | ALSA-2024:9180 |
| Debian:12 | libapache2-mod-auth-openidc | 2.4.12.3-2+deb12u1 | DEBIAN-CVE-2024-24814 |
| Debian:13 | libapache2-mod-auth-openidc | 2.4.15.7-1 | DEBIAN-CVE-2024-24814 |
| Debian:14 | libapache2-mod-auth-openidc | 2.4.15.7-1 | DEBIAN-CVE-2024-24814 |
| Rocky Linux:8 | cjose | 0:0.6.1-4.module+el8.9.0+1384+4b58c166 | RLSA-2024:5289 |
| Rocky Linux:8 | mod_auth_openidc | 0:2.4.9.4-6.module+el8.10.0+1846+b7dcd2c3 | RLSA-2024:5289 |
| Rocky Linux:9 | mod_auth_openidc | 0:2.4.10-1.el9 | RLSA-2024:9180 |
| Ubuntu:22.04:LTS | libapache2-mod-auth-openidc | no fix listed | UBUNTU-CVE-2024-24814 |
| Ubuntu:24.04:LTS | libapache2-mod-auth-openidc | no fix listed | UBUNTU-CVE-2024-24814 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenIDC | mod_auth_openidc | >= 2.0.0, < 2.4.15.2 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-hxr6-w4gc-7vvv x_refsource_CONFIRM
- https://github.com/OpenIDC/mod_auth_openidc/commit/4022c12f314bd89d127d1be008b1a80a08e1203d x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T7DKVEVREYAI4F46CQAVOTPL75WLOZOE/
- https://lists.debian.org/debian-lts-announce/2024/03/msg00004.html