{"id":"CVE-2021-39191","published":"2021-09-03T00:00:00Z","modified":"2024-08-04T01:58:18Z","title":"URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc","vendor":"zmartzone","product":"mod_auth_openidc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01735,"percentile":0.78159,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2","tags":[]},{"url":"https://github.com/zmartzone/mod_auth_openidc/issues/672","tags":[]},{"url":"https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d","tags":[]},{"url":"https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32RGPW5LZDLDTB7MKZIGAHPSLFOUNWR5/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHXO4O4G2UQS7X6OQJCVZKHZAQ7SAIFB/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html","tags":["mailing-list"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":15.63},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"zmartzone","affectedVersions":[{"vendor":"zmartzone","product":"mod_auth_openidc","versions":["<=2.4.9.3"]}],"euvd":{"id":"EUVD-2021-25579","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zmartzone-mod-auth-openidc-cve-2019-14857","parents":[{"from":"CVE-2019-14857","to":"CVE-2021-39191","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/mod_auth_openidc.c"],"commits":["https://github.com/zmartzone/mod_auth_openidc/commit/5c15dfb08106c2451c2c44ce7ace6813c216ba75","https://github.com/zmartzone/mod_auth_openidc/commit/ce37080c6aea30aabae8b4a9b4eea7808445cc8e","https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d"],"basis":"shared function","functions":["oidc_handle_logout_backchannel"]}]},{"from":"CVE-2021-32786","to":"CVE-2021-39191","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/mod_auth_openidc.c"],"commits":["https://github.com/zmartzone/mod_auth_openidc/commit/3a115484eb927bc6daa5737dd84f88ff4bbc5544","https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d"],"basis":"shared function","functions":["oidc_handle_logout_backchannel"]}]}]}}