{"id":"CVE-2022-23527","summary":"Open Redirect in oidc_validate_redirect_url()","details":"mod_auth_openidc is an OpenID Certified™ authentication and authorization module for the Apache 2.x HTTP server. Versions prior to 2.4.12.2 are vulnerable to Open Redirect. When providing a logout parameter to the redirect URI, the existing code in oidc_validate_redirect_url() does not properly check for URLs that start with /\\t, leading to an open redirect. This issue has been patched in version 2.4.12.2. Users unable to upgrade can mitigate the issue by configuring mod_auth_openidc to only allow redirection when the destination matches a given regular expression with OIDCRedirectURLsAllowed.","aliases":["GHSA-q6f2-285m-gr53"],"modified":"2026-03-20T11:54:28.902801Z","published":"2022-12-14T17:22:30.105Z","related":["ALSA-2023:6365","ALSA-2023:6940","SUSE-SU-2023:0215-1","SUSE-SU-2023:1837-1","SUSE-SU-2025:4532-1","openSUSE-SU-2024:12584-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23527.json"},"references":[{"type":"WEB","url":"https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23527.json"},{"type":"ADVISORY","url":"https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23527"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openidc/mod_auth_openidc","events":[{"introduced":"0"},{"fixed":"87119f44b9a88312dbc1f752d720bcd2371b94a8"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.4.12.2"}]}}],"versions":["2.3.11rc1","v1.5","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.5.5","v1.6.0","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.8.0","v1.8.1","v1.8.10","v1.8.2","v1.8.3","v1.8.4","v1.8.5","v1.8.6","v1.8.7","v1.8.8","v1.8.9","v2.0.0","v2.0.0rc1","v2.0.0rc4","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.2.0","v2.3.0","v2.3.0rc0","v2.3.0rc3","v2.3.1","v2.3.10","v2.3.10.1","v2.3.10.2","v2.3.11","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0.1","v2.4.0.2","v2.4.0.3","v2.4.0.4","v2.4.1","v2.4.10","v2.4.11","v2.4.11.1","v2.4.11.2","v2.4.11.3","v2.4.12","v2.4.12.1","v2.4.2","v2.4.2.1","v2.4.3","v2.4.4","v2.4.4.1","v2.4.5","v2.4.6","v2.4.7","v2.4.7.1","v2.4.7.2","v2.4.8.1","v2.4.8.2","v2.4.8.3","v2.4.8.4","v2.4.9","v2.4.9.1","v2.4.9.2","v2.4.9.3","v2.4.9.4"],"database_specific":{"vanir_signatures":[{"id":"CVE-2022-23527-0ea1f24f","deprecated":false,"signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["2785876189190350754405776347275299719","3592429317556836374456780986196056533","6179956261559369531962072056942313233","307681414870826943167474577582467319747"]},"signature_type":"Line","target":{"file":"src/mod_auth_openidc.h"}},{"id":"CVE-2022-23527-59f4a866","deprecated":false,"signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"function_hash":"46575860521880827060260033404068331985","length":3976},"signature_type":"Function","target":{"function":"oidc_validate_redirect_url","file":"src/mod_auth_openidc.c"}},{"id":"CVE-2022-23527-a0007877","deprecated":false,"signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"function_hash":"81706185336971633706660646791497957740","length":399},"signature_type":"Function","target":{"function":"oidc_util_strcasestr","file":"src/util.c"}},{"id":"CVE-2022-23527-ca6c3ea5","deprecated":false,"signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["329043496957843601538334703668873551595","220837559738213660945014665071012017553","240851835599655375470559027458109868308","73434580951236204721615529336133750787","206975829462892476830439541553072223635","55818927941714811651452162989743566586","284356806062111522693580815168782423949","162552974141509579955451404143922797069","75760300558805594534194665824513800473","14553734292797652668369146879601252775","12739086773718225398549399016188548252"]},"signature_type":"Line","target":{"file":"src/mod_auth_openidc.c"}},{"id":"CVE-2022-23527-d28cdbcc","deprecated":false,"signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["317587646839988384335544444821295524994","232466779908525399908685984565077850079","287349060155973921930124710969158894155","138747220604910769434861909082543655786"]},"signature_type":"Line","target":{"file":"src/util.c"}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23527.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/zmartzone/mod_auth_openidc","events":[{"introduced":"0"},{"fixed":"87119f44b9a88312dbc1f752d720bcd2371b94a8"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.4.12.2"}]}}],"versions":["2.3.11rc1","v1.5","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.5.5","v1.6.0","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.8.0","v1.8.1","v1.8.10","v1.8.2","v1.8.3","v1.8.4","v1.8.5","v1.8.6","v1.8.7","v1.8.8","v1.8.9","v2.0.0","v2.0.0rc1","v2.0.0rc4","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.2.0","v2.3.0","v2.3.0rc0","v2.3.0rc3","v2.3.1","v2.3.10","v2.3.10.1","v2.3.10.2","v2.3.11","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0.1","v2.4.0.2","v2.4.0.3","v2.4.0.4","v2.4.1","v2.4.10","v2.4.11","v2.4.11.1","v2.4.11.2","v2.4.11.3","v2.4.12","v2.4.12.1","v2.4.2","v2.4.2.1","v2.4.3","v2.4.4","v2.4.4.1","v2.4.5","v2.4.6","v2.4.7","v2.4.7.1","v2.4.7.2","v2.4.8.1","v2.4.8.2","v2.4.8.3","v2.4.8.4","v2.4.9","v2.4.9.1","v2.4.9.2","v2.4.9.3","v2.4.9.4"],"database_specific":{"vanir_signatures":[{"id":"CVE-2022-23527-0aff18d3","deprecated":false,"signature_version":"v1","source":"https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"function_hash":"81706185336971633706660646791497957740","length":399},"signature_type":"Function","target":{"function":"oidc_util_strcasestr","file":"src/util.c"}},{"id":"CVE-2022-23527-1f788647","deprecated":false,"signature_version":"v1","source":"https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["317587646839988384335544444821295524994","232466779908525399908685984565077850079","287349060155973921930124710969158894155","138747220604910769434861909082543655786"]},"signature_type":"Line","target":{"file":"src/util.c"}},{"id":"CVE-2022-23527-816577e1","deprecated":false,"signature_version":"v1","source":"https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["329043496957843601538334703668873551595","220837559738213660945014665071012017553","240851835599655375470559027458109868308","73434580951236204721615529336133750787","206975829462892476830439541553072223635","55818927941714811651452162989743566586","284356806062111522693580815168782423949","162552974141509579955451404143922797069","75760300558805594534194665824513800473","14553734292797652668369146879601252775","12739086773718225398549399016188548252"]},"signature_type":"Line","target":{"file":"src/mod_auth_openidc.c"}},{"id":"CVE-2022-23527-a7f6cbbe","deprecated":false,"signature_version":"v1","source":"https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"threshold":0.9,"line_hashes":["2785876189190350754405776347275299719","3592429317556836374456780986196056533","6179956261559369531962072056942313233","307681414870826943167474577582467319747"]},"signature_type":"Line","target":{"file":"src/mod_auth_openidc.h"}},{"id":"CVE-2022-23527-e8355faa","deprecated":false,"signature_version":"v1","source":"https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8","digest":{"function_hash":"46575860521880827060260033404068331985","length":3976},"signature_type":"Function","target":{"function":"oidc_validate_redirect_url","file":"src/mod_auth_openidc.c"}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23527.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"}]}