Skip to content
Fencer Vulns
high 8.2

CVE-2025-31492 json

mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data

published 2025-04-06 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-10018

cvss
8.2
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • openidc mod_auth_openidc 2.4.16.11
  • libapache2-mod-auth-openidc Debian 12 2.4.12.3-2+deb12u3
  • libapache2-mod-auth-openidc Debian 14, Debian 13 2.4.16.11-1

debian advisories DEBIAN-CVE-2025-31492

  • libapache2-mod-auth-openidc Ubuntu 22.04 LTS 2.4.11-1ubuntu0.1
  • libapache2-mod-auth-openidc Ubuntu 24.04 LTS 2.4.15.1-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2025-31492

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mod_auth_openidc RHEL 10.0 2.4.15-4.el10_0.1
  • mod_auth_openidc RHEL 9 2.4.10-1.el9_6.1
  • cjose RHEL 8 0.6.1-4.module+el8.10.0+21813+b5444eb8
  • mod_auth_openidc RHEL 8 2.4.9.4-7.module+el8.10.0+23023+ba6d7066
  • cjose RHEL 8.2 AUS 0.6.1-3.module+el8.2.0+19461+3a40b6ee
  • mod_auth_openidc RHEL 8.2 AUS 2.4.9.4-1.module+el8.2.0+23039+41dcbbc6
  • cjose RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 0.6.1-3.module+el8.4.0+19462+14bde120
  • mod_auth_openidc RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 2.4.9.4-1.module+el8.4.0+23043+b69acfab.1

red hat advisories RHSA-2025:7490RHSA-2025:7419RHSA-2025:4228RHSA-2025:4227RHSA-2025:4224RHSA-2025:4225

  • apache2-mod_auth_openidc SLE Module for Server Applications 15 SP7, SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.17.1-150600.16.14.1
  • apache2-mod_auth_openidc SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +11 more 2.3.8-150100.3.31.1
  • apache2-mod_auth_openidc SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.3.8-150600.16.8.1
  • apache2-mod_auth_openidc SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.4.0-7.19.1
  • apache2-mod_auth_openidc SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.4.0-7.15.1

suse advisories SUSE-SU-2025:4532-1SUSE-SU-2025:1465-1SUSE-SU-2025:1337-1SUSE-SU-2025:1324-1SUSE-SU-2025:1286-1

  • apache2-mod_auth_openidc openSUSE Tumbleweed 2.4.16.11-1.1

opensuse advisories openSUSE-SU-2025:14972-1

  • mod_auth_openidc AlmaLinux 9 2.4.10-1.el9_6.1
  • mod_auth_openidc AlmaLinux 10 2.4.15-4.el10_0.1
  • cjose AlmaLinux 8 0.6.1-4.module_el8.9.0+3631+0ced13d7
  • cjose AlmaLinux 8 0.6.1-4.module_el8.10.0+3881+234adf82
  • mod_auth_openidc AlmaLinux 8 2.4.9.4-7.module_el8.10.0+3978+e883c40d

almalinux advisories ALSA-2025:7419ALSA-2025:7490ALSA-2025:3997

  • mod_auth_openidc Rocky Linux 9 2.4.10-1.el9_6.1
  • mod_auth_openidc Rocky Linux 10 2.4.15-4.el10_0.1
  • cjose Rocky Linux 8 0.6.1-4.module+el8.9.0+1384+4b58c166
  • mod_auth_openidc Rocky Linux 8 2.4.9.4-7.module+el8.10.0+1953+b76d6417

rocky linux advisories RLSA-2025:7419RLSA-2025:7490RLSA-2025:3997

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-31492 updated cvss 7.5

mod_auth_openidc: mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data

  • Red Hat Enterprise Linux 7 mod_auth_openidc
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) cjose 0.6.1-4.module+el8.10.0+21813+b5444eb8, mod_auth_openidc 2.4.9.4-7.module+el8.10.0+23023+ba6d7066
    fixed: vendor fix RHSA-2025:3997
  • Red Hat Enterprise Linux AppStream (v. 9) mod_auth_openidc 2.4.10-1.el9_6.1
    fixed: vendor fix RHSA-2025:7419
  • Red Hat Enterprise Linux AppStream (v. 10) mod_auth_openidc 2.4.15-4.el10_0.1
    fixed: vendor fix RHSA-2025:7490
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) cjose 0.6.1-3.module+el8.2.0+19461+3a40b6ee, mod_auth_openidc 2.4.9.4-1.module+el8.2.0+23039+41dcbbc6
    fixed: vendor fix RHSA-2025:4228
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) cjose 0.6.1-3.module+el8.4.0+19462+14bde120, mod_auth_openidc 2.4.9.4-1.module+el8.4.0+23043+b69acfab.1
    fixed: vendor fix RHSA-2025:4227
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) cjose 0.6.1-3.module+el8.6.0+19463+7d2e1f9c, mod_auth_openidc 2.4.9.4-1.module+el8.6.0+23040+515b7c43.1
    fixed: vendor fix RHSA-2025:4192
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) cjose 0.6.1-3.module+el8.4.0+19462+14bde120, mod_auth_openidc 2.4.9.4-1.module+el8.4.0+23043+b69acfab.1
    fixed: vendor fix RHSA-2025:4227
show 7 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) cjose 0.6.1-3.module+el8.6.0+19463+7d2e1f9c, mod_auth_openidc 2.4.9.4-1.module+el8.6.0+23040+515b7c43.1
    fixed: vendor fix RHSA-2025:4192
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) mod_auth_openidc 2.4.9.4-1.el9_0.2
    fixed: vendor fix RHSA-2025:3945
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) cjose 0.6.1-3.module+el8.8.0+19464+578f4546, mod_auth_openidc 2.4.9.4-1.module+el8.8.0+23028+2aae5ce6.1
    fixed: vendor fix RHSA-2025:4128
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) mod_auth_openidc 2.4.9.4-1.el9_2.2
    fixed: vendor fix RHSA-2025:4225
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) mod_auth_openidc 2.4.9.4-4.el9_4.1
    fixed: vendor fix RHSA-2025:4224
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) cjose 0.6.1-3.module+el8.4.0+19462+14bde120, mod_auth_openidc 2.4.9.4-1.module+el8.4.0+23043+b69acfab.1
    fixed: vendor fix RHSA-2025:4227
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) cjose 0.6.1-3.module+el8.6.0+19463+7d2e1f9c, mod_auth_openidc 2.4.9.4-1.module+el8.6.0+23040+515b7c43.1
    fixed: vendor fix RHSA-2025:4192

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.2 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
CNA 4.0 8.2 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/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

Affected products

  • OpenIDC mod_auth_openidc

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.