mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 14 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mod_auth_openidc (OpenIDC) Fixed in 2.4.16.11
Red Hat 10 advisories
- RHSA-2025:7490 Released 2025-05-13 · Red Hat rating Importantmod_auth_openidc security update
- Red Hat Enterprise Linux AppStream (v. 10) mod_auth_openidc-2.4.15-4.el10_0.1
- RHSA-2025:7419 Released 2025-05-13 · Red Hat rating Importantmod_auth_openidc security update
- Red Hat Enterprise Linux AppStream (v. 9) mod_auth_openidc-2.4.10-1.el9_6.1
- RHSA-2025:4227 Released 2025-04-28 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) cjose-0.6.1-3.module+el8.4.0+19462+14bde120.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+19462+14bde120.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.4.0+19462+14bde120.x86_64::mod_auth_openidc:2.3 +2
- Red Hat Enterprise Linux AppStream E4S (v.8.4) cjose-0.6.1-3.module+el8.4.0+19462+14bde120.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+19462+14bde120.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+19462+14bde120.x86_64::mod_auth_openidc:2.3 +5
- Red Hat Enterprise Linux AppStream TUS (v.8.4) cjose-0.6.1-3.module+el8.4.0+19462+14bde120.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+19462+14bde120.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.4.0+19462+14bde120.x86_64::mod_auth_openidc:2.3 +2
Show 7 more Red Hat advisories
- RHSA-2025:4228 Released 2025-04-28 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) cjose-0.6.1-3.module+el8.2.0+19461+3a40b6ee.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.2.0+19461+3a40b6ee.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.2.0+19461+3a40b6ee.x86_64::mod_auth_openidc:2.3 +2
- RHSA-2025:4224 Released 2025-04-28 · Red Hat rating Importantmod_auth_openidc security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) mod_auth_openidc-2.4.9.4-4.el9_4.1
- RHSA-2025:4225 Released 2025-04-28 · Red Hat rating Importantmod_auth_openidc security update
- Red Hat Enterprise Linux AppStream EUS (v.9.2) mod_auth_openidc-2.4.9.4-1.el9_2.2
- RHSA-2025:4192 Released 2025-04-24 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.x86_64::mod_auth_openidc:2.3 +2
- Red Hat Enterprise Linux AppStream E4S (v.8.6) cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.s390x::mod_auth_openidc:2.3 +11
- Red Hat Enterprise Linux AppStream TUS (v.8.6) cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.6.0+19463+7d2e1f9c.x86_64::mod_auth_openidc:2.3 +2
- RHSA-2025:3997 Released 2025-04-23 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream (v. 8) cjose-0.6.1-4.module+el8.10.0+21813+b5444eb8.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-4.module+el8.10.0+21813+b5444eb8.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-4.module+el8.10.0+21813+b5444eb8.s390x::mod_auth_openidc:2.3 +11
- RHSA-2025:4128 Released 2025-04-23 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) cjose-0.6.1-3.module+el8.8.0+19464+578f4546.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.8.0+19464+578f4546.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.8.0+19464+578f4546.s390x::mod_auth_openidc:2.3 +11
- RHSA-2025:3945 Released 2025-04-16 · Red Hat rating Importantmod_auth_openidc security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) mod_auth_openidc-2.4.9.4-1.el9_0.2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:7490 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:3997 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:7419 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2025:4228 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2025:4227 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2025:4192 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2025:4227 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2025:4192 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:3945 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2025:4128 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2025:4225 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:4224 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2025:4227 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2025:4192 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-31492
References
More OpenIDC vulnerabilities
- TI-2026-38908 OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption CVSS 3.1CRITICAL 9.1
- TI-2024-16331 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc CVSS 3.1HIGH 7.5
- TI-2023-19073 Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose CVSS 3.1HIGH 8.6
- TI-2017-04220 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2017-03971 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2023-13144 mod_auth_openidc core dump when OIDCStripCookies is set and an empty Cookie header is supplied CVSS 3.1HIGH 7.5
Sources
- CVE-2025-31492 · CVE Program
- CVE-2025-31492 · NVD
- FIRST EPSS
- CVE-2025-31492 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences