mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9, `oidc_validate_redirect_url()` does not parse URLs the same way as most browsers do. As a result, this function can be bypassed and leads to an Open Redirect vulnerability in the logout functionality. This bug has been fixed in version 2.4.9 by replacing any backslash of the URL to redirect with slashes to address a particular breaking change between the different specifications (RFC2396 / RFC3986 and WHATWG). As a workaround, this vulnerability can be mitigated by configuring `mod_auth_openidc` to only allow redirection whose destination matches a given regular expression.
CVSS Details
- CVSS 3.1 Base Score: 4.7
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade cjoseUpgrade mod_auth_openidcUpgrade cjose-devel | May 13, 2022 | Jul 22, 2021 |
| Centos_linux | — | Upgrade cjose-debuginfoUpgrade cjose-debugsourceUpgrade mod_auth_openidc-debuginfoUpgrade mod_auth_openidcUpgrade cjoseUpgrade mod_auth_openidc-debugsourceUpgrade cjose-devel | May 13, 2022 | Jul 22, 2021 |
| Debian | — | Upgrade libapache2-mod-auth-openidc | May 2, 2023 | Jul 22, 2021 |
| Oracle_linux | — | Upgrade cjoseUpgrade cjose-develUpgrade mod_auth_openidc | May 18, 2022 | Jul 22, 2021 |
| Redhat_linux | — | Upgrade mod_auth_openidc-debugsourceUpgrade cjose-debuginfoNo solution existsUpgrade cjose-debugsourceUpgrade mod_auth_openidc-debuginfoUpgrade cjoseUpgrade cjose-develUpgrade mod_auth_openidc | May 13, 2022 | Jul 22, 2021 |
| Rocky_linux | — | Upgrade mod_auth_openidc-debugsourceUpgrade mod_auth_openidc-debuginfoUpgrade mod_auth_openidcUpgrade cjose-debuginfoUpgrade cjose-develUpgrade cjose-debugsourceUpgrade cjose | Mar 5, 2024 | Jul 22, 2021 |
| Suse | — | Upgrade apache2-mod_auth_openidc | Sep 14, 2021 | Jul 22, 2021 |
| Ubuntu | — | No solution exists | Jun 26, 2025 | Jul 22, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub