Vulnerability · Published Dec 14, 2022 · Assigned by GitHub_M
CVE-2022-23527Open Redirect in oidc_validate_redirect_url()
Medium 4.7
In plain English
A medium-severity open redirect in mod_auth_openidc from zmartzone. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cjose | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:8 | cjose-devel | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:8 | mod_auth_openidc | 2.4.9.4-5.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:9 | mod_auth_openidc | 2.4.9.4-4.el9 | ALSA-2023:6365 |
| Debian:12 | libapache2-mod-auth-openidc | 2.4.12.2-1 | DEBIAN-CVE-2022-23527 |
| Debian:13 | libapache2-mod-auth-openidc | 2.4.12.2-1 | DEBIAN-CVE-2022-23527 |
| Debian:14 | libapache2-mod-auth-openidc | 2.4.12.2-1 | DEBIAN-CVE-2022-23527 |
| Rocky Linux:8 | cjose | 0:0.6.1-4.module+el8.9.0+1384+4b58c166 | RLSA-2023:6940 |
| Rocky Linux:8 | mod_auth_openidc | 0:2.4.9.4-5.module+el8.9.0+1384+4b58c166 | RLSA-2023:6940 |
| Ubuntu:22.04:LTS | libapache2-mod-auth-openidc | no fix listed | UBUNTU-CVE-2022-23527 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| zmartzone | mod_auth_openidc | < 2.4.12.2 |
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N