Open Redirect in oidc_validate_redirect_url()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenIDC | mod_auth_openidc | before 2.4.12.2 | 2.4.12.2 | Patch available | CNA |
- mod_auth_openidc VendorOpenIDC Affected before 2.4.12.2 Fixed in 2.4.12.2 Patch available CNA
Remediation
- Fix · CNA mod_auth_openidc (zmartzone) Fixed in 2.4.12.2
Red Hat 2 advisories
- RHSA-2023:6940 Released 2023-11-14 · Red Hat rating Moderatemod_auth_openidc:2.3 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) cjose-0.6.1-4.module+el8.9.0+19469+5b493da9.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-4.module+el8.9.0+19469+5b493da9.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-4.module+el8.9.0+19469+5b493da9.s390x::mod_auth_openidc:2.3 +11
- RHSA-2023:6365 Released 2023-11-07 · Red Hat rating Moderatemod_auth_openidc security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) mod_auth_openidc-2.4.9.4-4.el9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:6940 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6365 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23527
References
More OpenIDC Mod Auth Openidc vulnerabilities
- TI-2024-16331 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc CVSS 3.1HIGH 7.5
- TI-2017-04220 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2017-03971 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2023-13144 mod_auth_openidc core dump when OIDCStripCookies is set and an empty Cookie header is supplied CVSS 3.1HIGH 7.5
- TI-2017-03968 Mod_auth_openidc.c in the Ping Identity OpenID Connect authentication module for Apache… CVSS 3.1HIGH 7.5
- TI-2021-03944 Uncontrolled resource consumption in OpenIDC mod_auth_openidc CVSS 3.1HIGH 7.5
Sources
- CVE-2022-23527 · CVE Program
- CVE-2022-23527 · NVD
- FIRST EPSS
- CVE-2022-23527 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences