Bugzilla – Bug 1190223
VUL-0: CVE-2021-39191: apache2-mod_auth_openidc: open redirect issue in target_link_uri parameter
Last modified: 2022-04-14 13:38:35 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-39191 https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4 https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39191 https://github.com/zmartzone/mod_auth_openidc/issues/672 http://www.cvedetails.com/cve/CVE-2021-39191/
Affected packages: - SUSE:SLE-12-SP2:Update/apache2-mod_auth_openidc 2.4.0 - SUSE:SLE-15-SP1:Update/apache2-mod_auth_openidc 2.3.8 - openSUSE:Factory/apache2-mod_auth_openidc 2.4.9.3 Upstream patch: https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d
@Danilo: please check out the regression in bsc#1190855 and resubmit the patch once fixed. Thanks
SUSE-SU-2021:3352-1: An update that fixes 5 vulnerabilities is now available. Category: security (moderate) Bug References: 1188638,1188639,1188848,1188849,1190223 CVE References: CVE-2021-32785,CVE-2021-32786,CVE-2021-32791,CVE-2021-32792,CVE-2021-39191 JIRA References: Sources used: SUSE Linux Enterprise Server 12-SP5 (src): apache2-mod_auth_openidc-2.4.0-3.23.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
@Danilo: please resubmit for SUSE:SLE-15-SP1:Update/apache2-mod_auth_openidc.
Hi Gianluca, I have resubmitted as requested.
Thanks, closing.