CVE-2025-31492
mod_auth_openidc: mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 7, 2025
Updated · June 30, 2026
Description
A flaw was found in mod_auth_openidc, an OpenID Connect authentication module for Apache HTTP Server. This vulnerability allows unauthenticated users to access protected content via crafted HTTP POST requests to protected resources when no application-level gateway is present.
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor