CVE-2025-31492: openidc mod_auth_openidc
Vulnerability summary
CVE-2025-31492 is a high (CVSS 8.2) vulnerability in openidc mod_auth_openidc. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 06-04-2025PublishedVulnerability first disclosed.
- 17-04-2025Last modifiedVulnerability information updated.
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. 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.
CVSS metrics
5 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
+0.01 pp
From 0.57% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse17 products
- apache2-mod_auth_openidc&distro=SUSE Enterprise Storage 7.1< 2.3.8-150100.3.31.1
- apache2-mod_auth_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 2.3.8-150100.3.31.1
- apache2-mod_auth_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.3.8-150100.3.31.1
- apache2-mod_auth_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.3.8-150100.3.31.1
- apache2-mod_auth_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.3.8-150100.3.31.1
Redhat7 products
- cjose< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 | < 0:0.6.1-3.module+el8.8.0+19464+578f4546 | < 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c | < 0:0.6.1-3.module+el8.4.0+19462+14bde120 | < 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- cjose-debuginfo< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 | < 0:0.6.1-3.module+el8.8.0+19464+578f4546 | < 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c | < 0:0.6.1-3.module+el8.4.0+19462+14bde120 | < 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- cjose-debugsource< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 | < 0:0.6.1-3.module+el8.8.0+19464+578f4546 | < 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c | < 0:0.6.1-3.module+el8.4.0+19462+14bde120 | < 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- cjose-devel< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 | < 0:0.6.1-3.module+el8.8.0+19464+578f4546 | < 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c | < 0:0.6.1-3.module+el8.4.0+19462+14bde120 | < 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- mod_auth_openidc< 0:2.4.9.4-1.el9_0.2 | < 0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066 | < 0:2.4.9.4-1.module+el8.8.0+23028+2aae5ce6.1 | < 0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1 | < 0:2.4.9.4-4.el9_4.1 | < 0:2.4.9.4-1.el9_2.2 | < 0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1 | < 0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6 | < 0:2.4.10-1.el9_6.1 | < 0:2.4.15-4.el10_0.1
Opensuse2 products
- apache2-mod_auth_openidc&distro=openSUSE Leap 15.6< 2.3.8-150600.16.8.1
- apache2-mod_auth_openidc&distro=openSUSE Tumbleweed< 2.4.16.11-1.1
Debian1 product
- libapache2-mod-auth-openidc< 2.4.16.11-1 | < 2.4.12.3-2+deb12u3 | < 2.4.9.4-0+deb11u5
Mageia1 product
- apache-mod_auth_openidc< 2.4.13.2-1.2.mga9
Openidc1 product
- mod_auth_openidc< 2.4.16.11
Ubuntu1 product
- libapache2-mod-auth-openidcAll versions (No fix recorded) | < 2.4.11-1ubuntu0.1 | < 2.4.15.1-1ubuntu0.1
7 vendors · 30 products
References
43 links- github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-59jp-rwph-878rX Refsource CONFIRMARTICLEREPORT
- github.com/OpenIDC/mod_auth_openidc/commit/b59b8ad63411857090ba1088e23fe414c690c127X Refsource MISCARTICLEREPORT
Show all 43 references
- lists.opensuse.org/archives/…Advisory