CVE-2023-28625 mod_auth_openidc core dump when OIDCStripCookies is set and an empty Cookie header is supplied

High 7.5 Published Updated

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 7All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Enterprise Storage 7.1All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Module for Server Applications 15 SP4All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Real Time 15 SP3All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Manager Proxy 4.2All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc SUSE:Manager Server 4.2All versions2.3.8-150100.3.25.1
apache2-mod_auth_openidc openSUSE:Leap 15.4All versions2.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.

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.

Is CVE-2023-28625 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free