CVE-2023-28625 mod_auth_openidc core dump when OIDCStripCookies is set and an empty Cookie header is supplied
A null pointer dereference in mod_auth_openidc causes a crash when OIDCStripCookies is enabled and an empty cookie is sent, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-28625?
CVE-2023-28625 is a high-severity vulnerability in mod_auth_openidc, published on 3 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mod_auth_openidc is an authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. In versions 2.0.0 through 2.4.13.1, when `OIDCStripCookies` is set and a crafted cookie supplied, a NULL pointer dereference would occur, resulting in a segmentation fault. This could be used in a Denial-of-Service attack and thus presents an availability risk. Version 2.4.13.2 contains a patch for this issue. As a workaround, avoid using `OIDCStripCookies`.
Weakness: CWE-476
Which versions are affected by CVE-2023-28625?
It affects 1 product.
Linux distribution packages (17)
apache2-mod_auth_openidc SUSE:Enterprise Storage 7 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Enterprise Storage 7.1 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Module for Server Applications 15 SP4 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Real Time 15 SP3 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Manager Proxy 4.2 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc SUSE:Manager Server 4.2 | All versions | 2.3.8-150100.3.25.1 |
apache2-mod_auth_openidc openSUSE:Leap 15.4 | All versions | 2.3.8-150100.3.25.1 |
Products include Openidc Mod Auth Openidc.
How do I fix CVE-2023-28625?
Apply the vendor's patch.
Is CVE-2023-28625 being exploited?
There is no known exploitation of CVE-2023-28625 in the wild and no public exploit code.
Other vulnerabilities in mod_auth_openidc
- CVE-2017-6062 Auth bypass in n/a
- CVE-2017-6413 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc) module before 2.1.6 for the Apache HTTP Server does
- CVE-2017-6059 Open redirect in n/a
- CVE-2019-1010247 Cross-site scripting in mod auth openidc
- CVE-2019-14857 Open redirect in mod auth openidc
Sources
Also known as AZL-26772, CLSA-2025-1745945082, DEBIAN-CVE-2023-28625, DSA-5405-1, GHSA-f5xw-rvfr-24qr, SUSE-SU-2023:1849-1 and 1 more.