CVE-2021-39191

medium

Description

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

https://github.com/zmartzone/mod_auth_openidc/issues/672

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

https://lists.fedoraproject.org/archives/list/[email protected]/message/32RGPW5LZDLDTB7MKZIGAHPSLFOUNWR5/

https://lists.fedoraproject.org/archives/list/[email protected]/message/RHXO4O4G2UQS7X6OQJCVZKHZAQ7SAIFB/

Details

Source: MITRE

Published: 2021-09-03

Updated: 2022-05-07

Type: CWE-601

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Impact Score: 2.7

Exploitability Score: 2.8

Severity: MEDIUM