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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.2%top 30.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8cjose0.6.1-4.module_el8.9.0+3631+0ced13d7ALSA-2024:5289
AlmaLinux:8cjose0.6.1-4.module_el8.10.0+3881+234adf82ALSA-2024:5289
AlmaLinux:8cjose-devel0.6.1-4.module_el8.9.0+3631+0ced13d7ALSA-2024:5289
AlmaLinux:8cjose-devel0.6.1-4.module_el8.10.0+3881+234adf82ALSA-2024:5289
AlmaLinux:8mod_auth_openidc2.4.9.4-6.module_el8.10.0+3881+234adf82ALSA-2024:5289
AlmaLinux:9mod_auth_openidc2.4.10-1.el9ALSA-2024:9180
Debian:12libapache2-mod-auth-openidc2.4.12.3-2+deb12u1DEBIAN-CVE-2024-24814
Debian:13libapache2-mod-auth-openidc2.4.15.7-1DEBIAN-CVE-2024-24814
Debian:14libapache2-mod-auth-openidc2.4.15.7-1DEBIAN-CVE-2024-24814
Rocky Linux:8cjose0:0.6.1-4.module+el8.9.0+1384+4b58c166RLSA-2024:5289
Rocky Linux:8mod_auth_openidc0:2.4.9.4-6.module+el8.10.0+1846+b7dcd2c3RLSA-2024:5289
Rocky Linux:9mod_auth_openidc0:2.4.10-1.el9RLSA-2024:9180
Ubuntu:22.04:LTSlibapache2-mod-auth-openidcno fix listedUBUNTU-CVE-2024-24814
Ubuntu:24.04:LTSlibapache2-mod-auth-openidcno fix listedUBUNTU-CVE-2024-24814

Affected products (as reported)

VendorProductVersions
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