Open Redirect Affecting mod_auth_openidc package, versions <0:2.4.9.4-4.el9
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALMALINUX9-MODAUTHOPENIDC-6061516
- published 15 Nov 2023
- disclosed 7 Nov 2023
Introduced: 7 Nov 2023
CVE-2022-23527 Open this link in a new tabHow to fix?
Upgrade AlmaLinux:9
mod_auth_openidc
to version 0:2.4.9.4-4.el9 or higher.
This issue was patched in ALSA-2023:6365
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mod_auth_openidc
package and not the mod_auth_openidc
package as distributed by AlmaLinux
.
See How to fix?
for AlmaLinux:9
relevant fixed versions and status.
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.
References
- https://errata.almalinux.org/9/ALSA-2023-6365.html
- https://errata.almalinux.org/8/ALSA-2023-6940.html
- https://access.redhat.com/security/cve/CVE-2022-23527
- https://access.redhat.com/errata/RHSA-2023:6365
- https://access.redhat.com/errata/RHSA-2023:6940
- https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53
- https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html