cve.bz

CVE-2025-31492 openidc mod auth openidc

8.2 highEPSS 0.6%

High (8.2) in openidc mod auth openidc. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.2 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-31492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31492?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-31492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenIDC mod_auth_openidc< 2.4.16.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libapache2-mod-auth-openidc2.4.9.4-0+deb11u5DLA-4129-1
Debian12libapache2-mod-auth-openidc2.4.12.3-2+deb12u3DEBIAN-CVE-2025-31492 DSA-5904-1
Debian13, 14libapache2-mod-auth-openidc2.4.16.11-1DEBIAN-CVE-2025-31492
Ubuntu18.04:LTS, 20.04:LTS, 25.10libapache2-mod-auth-openidcno fix listedUBUNTU-CVE-2025-31492
Ubuntu22.04:LTSlibapache2-mod-auth-openidc2.4.11-1ubuntu0.1UBUNTU-CVE-2025-31492 USN-7446-1
Ubuntu24.04:LTSlibapache2-mod-auth-openidc2.4.15.1-1ubuntu0.1UBUNTU-CVE-2025-31492 USN-7446-1
Red Hatenterprise_linux:8::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-4.module+el8.10.0+21813+b5444eb8RHSA-2025:3997
Red Hatenterprise_linux:8::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066RHSA-2025:3997
Red Hatenterprise_linux:9::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.10-1.el9_6.1RHSA-2025:7419
Red Hatenterprise_linux:10.0mod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.15-4.el10_0.1RHSA-2025:7490
Red Hatrhel_aus:8.2::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.2.0+19461+3a40b6eeRHSA-2025:4228
Red Hatrhel_aus:8.2::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6RHSA-2025:4228
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.4.0+19462+14bde120RHSA-2025:4227
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1RHSA-2025:4227
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.6.0+19463+7d2e1f9cRHSA-2025:4192
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1RHSA-2025:4192
Red Hatrhel_e4s:9.0::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.el9_0.2RHSA-2025:3945
Red Hatrhel_eus:8.8::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.8.0+19464+578f4546RHSA-2025:4128
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moreapache2-mod_auth_openidc2.3.8-150100.3.31.1SUSE-SU-2025:1324-1
SUSELinux Enterprise Module for Server Applications 15 SP6apache2-mod_auth_openidc2.3.8-150600.16.8.1SUSE-SU-2025:1286-1
SUSELinux Enterprise Module for Server Applications 15 SP6, Linux Enterprise Module for Server Applications 15 SP7apache2-mod_auth_openidc2.4.17.1-150600.16.14.1SUSE-SU-2025:4532-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apache2-mod_auth_openidc2.4.0-7.15.1SUSE-SU-2025:1337-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apache2-mod_auth_openidc2.4.0-7.19.1SUSE-SU-2025:1465-1
openSUSELeap 15.6apache2-mod_auth_openidc2.3.8-150600.16.8.1SUSE-SU-2025:1286-1
openSUSELeap 15.6apache2-mod_auth_openidc2.4.17.1-150600.16.14.1SUSE-SU-2025:4532-1
openSUSETumbleweedapache2-mod_auth_openidc2.4.16.11-1.1openSUSE-SU-2025:14972-1
AlmaLinux8cjose, cjose-devel0.6.1-4.module_el8.10.0+3881+234adf82ALSA-2025:3997
AlmaLinux8cjose, cjose-devel0.6.1-4.module_el8.9.0+3631+0ced13d7ALSA-2025:3997
AlmaLinux8mod_auth_openidc2.4.9.4-7.module_el8.10.0+3978+e883c40dALSA-2025:3997
AlmaLinux9mod_auth_openidc2.4.10-1.el9_6.1ALSA-2025:7419
AlmaLinux10mod_auth_openidc2.4.15-4.el10_0.1ALSA-2025:7490
Rocky Linux8cjose0:0.6.1-4.module+el8.9.0+1384+4b58c166RLSA-2025:3997
Rocky Linux8mod_auth_openidc0:2.4.9.4-7.module+el8.10.0+1953+b76d6417RLSA-2025:3997
Rocky Linux9mod_auth_openidc0:2.4.10-1.el9_6.1RLSA-2025:7419
Rocky Linux10mod_auth_openidc0:2.4.15-4.el10_0.1RLSA-2025:7490
Azure Linux2mod_auth_openidcno fix listedAZL-59592
Azure Linux3mod_auth_openidcno fix listedAZL-61786

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability marked as important severity rather than moderate due to its direct breach of access control, one of the core pillars of web application security. The flaw allows unauthenticated users to access sensitive protected content simply by triggering a specific OpenID Connect flow, bypassing the intended authentication checks. This is not merely a misconfiguration or theoretical risk — it results from a flawed control path in mod_auth_openidc where the module returns OK for unauthenticated requests, and httpd proceeds to serve protected content. The vulnerability affects environments without strict external request validation (e.g., no reverse proxy or WAF), making it highly impactful in real-world deployments.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10mod_auth_openidc-0:2.4.15-4.el10_0.1Fixed 2025-05-13RHSA-2025:7490
Red Hat Enterprise Linux 8mod_auth_openidc:2.3-8100020250411144918.489197e6Fixed 2025-04-23RHSA-2025:3997
Red Hat Enterprise Linux 8.2 Advanced Update Supportmod_auth_openidc:2.3-8020020250422085336.4cda2c84Fixed 2025-04-28RHSA-2025:4228
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmod_auth_openidc:2.3-8040020250422161642.522a0ee4Fixed 2025-04-28RHSA-2025:4227
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicemod_auth_openidc:2.3-8040020250422161642.522a0ee4Fixed 2025-04-28RHSA-2025:4227
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsmod_auth_openidc:2.3-8040020250422161642.522a0ee4Fixed 2025-04-28RHSA-2025:4227
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportmod_auth_openidc:2.3-8060020250422111826.ad008a3aFixed 2025-04-24RHSA-2025:4192
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicemod_auth_openidc:2.3-8060020250422111826.ad008a3aFixed 2025-04-24RHSA-2025:4192
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsmod_auth_openidc:2.3-8060020250422111826.ad008a3aFixed 2025-04-24RHSA-2025:4192
Red Hat Enterprise Linux 8.8 Extended Update Supportmod_auth_openidc:2.3-8080020250415192452.63b34585Fixed 2025-04-23RHSA-2025:4128
Red Hat Enterprise Linux 9mod_auth_openidc-0:2.4.10-1.el9_6.1Fixed 2025-05-13RHSA-2025:7419
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsmod_auth_openidc-0:2.4.9.4-1.el9_0.2Fixed 2025-04-16RHSA-2025:3945
Red Hat Enterprise Linux 9.2 Extended Update Supportmod_auth_openidc-0:2.4.9.4-1.el9_2.2Fixed 2025-04-28RHSA-2025:4225
Red Hat Enterprise Linux 9.4 Extended Update Supportmod_auth_openidc-0:2.4.9.4-4.el9_4.1Fixed 2025-04-28RHSA-2025:4224
Red Hat Enterprise Linux 7mod_auth_openidcOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-31492.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON