CVE-2025-31492
CVE-2025-31492 · mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data
CVSS 8.2 · High · EPSS 1.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- mod_auth_openidcNo fix published
- libapache2-mod-auth-openidc Debian 12Update to 2.4.12.3-2+deb12u3
- libapache2-mod-auth-openidc Debian 13Update to 2.4.16.11-1
- libapache2-mod-auth-openidc Debian 14Update to 2.4.16.11-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libapache2-mod-auth-openidc"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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. Prior to 2.4.16.11, a bug in a mod_auth_openidc results in disclosure of protected content to unauthenticated users. The conditions for disclosure are an OIDCProviderAuthRequestMethod POST, a valid account, and there mustn't be any application-level gateway (or load balancer etc) protecting the server. When you request a protected resource, the response includes the HTTP status, the HTTP headers, the intended response (the self-submitting form), and the protected resource (with no headers). This is an example of a request for a protected resource, including all the data returned. In the case where mod_auth_openidc returns a form, it has to return OK from check_userid so as not to go down the error path in httpd. This means httpd will try to issue the protected resource. oidc_content_handler is called early, which has the opportunity to prevent the normal output being issued by httpd. oidc_content_handler has a number of checks for when it intervenes, but it doesn't check for this case, so the handler returns DECLINED. Consequently, httpd appends the protected content to the response. The issue has been patched in mod_auth_openidc versions >= 2.4.16.11.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2025:4532-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- RLSA-2025:7419 · Rocky Linux 9 ·
- RLSA-2025:7490 · Rocky Linux 10 ·
- RLSA-2025:3997 · Rocky Linux 8 ·
- RHSA-2025:7490 · Red Hat Enterprise Linux 10.0 ·
- RHSA-2025:7419 · Red Hat Enterprise Linux 9 appstream ·
- ALSA-2025:7419 · AlmaLinux 9 ·
- ALSA-2025:7490 · AlmaLinux 10 ·
- SUSE-SU-2025:1465-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- RHSA-2025:4228 · Red Hat rhel aus 8.2 appstream ·
- RHSA-2025:4227 · Red Hat rhel aus 8.4 appstream, Red Hat rhel e4s 8.4 appstream, Red Hat rhel tus 8.4 appstream ·
- RHSA-2025:4224 · Red Hat rhel eus 9.4 appstream ·
- RHSA-2025:4225 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2025:4192 · Red Hat rhel aus 8.6 appstream, Red Hat rhel e4s 8.6 appstream, Red Hat rhel tus 8.6 appstream ·
- RHSA-2025:4128 · Red Hat rhel eus 8.8 appstream ·
- RHSA-2025:3997 · Red Hat Enterprise Linux 8 appstream ·
- USN-7446-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·
- SUSE-SU-2025:1337-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- RHSA-2025:3945 · Red Hat rhel e4s 9.0 appstream ·
- ALSA-2025:3997 · AlmaLinux 8 ·
- DLA-4129-1 · Debian 11 ·
- DSA-5904-1 · Debian 12 ·
- SUSE-SU-2025:1324-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
- SUSE-SU-2025:1286-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6 ·
- openSUSE-SU-2025:14972-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
mod_auth_openidc
- Versions
- < 2.4.16.11: Affected
No fix published
libapache2-mod-auth-openidc Debian 12
- Versions
- 2.4.12.3-2
- 2.4.12.3-2+deb12u1
- 2.4.12.3-2+deb12u2
- Affected ranges
- ECOSYSTEM: < 2.4.12.3-2+deb12u3
Update to 2.4.12.3-2+deb12u3
libapache2-mod-auth-openidc Debian 13
- Affected ranges
- ECOSYSTEM: < 2.4.16.11-1
Update to 2.4.16.11-1
libapache2-mod-auth-openidc Debian 14
- Affected ranges
- ECOSYSTEM: < 2.4.16.11-1
Update to 2.4.16.11-1
libapache2-mod-auth-openidc Ubuntu 18.04 LTS
- Versions
- 2.1.6-1
- 2.3.1-2
- 2.3.2-1
- 2.3.2-1build1
- 2.3.3-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libapache2-mod-auth-openidc Ubuntu 20.04 LTS
- Versions
- 2.3.10.2-1
- 2.4.0.4-1
- 2.4.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libapache2-mod-auth-openidc Ubuntu 22.04 LTS
- Versions
- 2.4.9-1
- 2.4.9.4-1
- 2.4.10-1
- 2.4.10-1build1
- 2.4.11-1
- Affected ranges
- ECOSYSTEM: < 2.4.11-1ubuntu0.1
Update to 2.4.11-1ubuntu0.1
libapache2-mod-auth-openidc Ubuntu 24.04 LTS
- Versions
- 2.4.14.2-1
- 2.4.14.4-2
- 2.4.14.4-2build1
- 2.4.15.1-1
- 2.4.15.1-1build2
- 2.4.15.1-1build3
- Affected ranges
- ECOSYSTEM: < 2.4.15.1-1ubuntu0.1
Update to 2.4.15.1-1ubuntu0.1
libapache2-mod-auth-openidc Ubuntu 25.10
- Versions
- 2.4.16.10-1
- 2.4.17-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published