Open Redirect in Openidc Mod Auth
CVE-2021-39191
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.4, the 3rd-party init SSO functionality of mod_auth_openidc was reported to be vulnerable to an open redirect attack by supplying a crafted URL in the `target_link_uri` parameter. A patch in version 2.4.9.4 made it so that the `OIDCRedirectURLsAllowed` setting must be applied to the `target_link_uri` parameter. There are no known workarounds aside from upgrading to a patched version.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.017, 78.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openidc Mod Auth
- Zmartzone Mod Auth Openidc — versions <=2.4.9.3
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
References
- github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2 (Vendor Advisory)
- github.com/zmartzone/mod_auth_openidc/issues/672 (Exploit)
- github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd… (Patch, Third Party Advisory)
- github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4 (Release Notes)
- FEDORA-2021-8d9aca2ded (vendor-advisory)
- FEDORA-2022-814ee0c43b (vendor-advisory)
- [debian-lts-announce] 20230718 [SECURITY] [DLA 3499-1] libapache2-mod-auth-openidc security update (mailing-list, Mailing List)