Skip to content
OpenAdvisories
Medium · 4.7 CVE-2022-23527 EUVD-2022-28556

Open Redirect in oidc_validate_redirect_url()

Published Dec 14, 2022 · Updated Apr 18, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
zmartzone mod_auth_openidc < 2.4.12.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libapache2-mod-auth-openidc 2.4.12.2-1 —
Debian 13 libapache2-mod-auth-openidc 2.4.12.2-1 —
Debian 12 libapache2-mod-auth-openidc 2.4.12.2-1 —
Debian 10 libapache2-mod-auth-openidc 2.3.10.2-1+deb10u3 DLA-3499-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libapache2-mod-auth-openidc No fix yet —
Ubuntu 20.04 LTS libapache2-mod-auth-openidc No fix yet —
Ubuntu 18.04 LTS libapache2-mod-auth-openidc No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 mod_auth_openidc 2.4.9.4-4.el9 RHSA-2023:6365
RHEL 8 cjose +1 0.6.1-4.module+el8.9.0+19469+5b493da9 RHSA-2023:6940
RHEL 8 mod_auth_openidc 2.4.9.4-5.module+el8.9.0+18723+672ccf5d RHSA-2023:6940

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mod_auth_openidc 2.4.9.4-4.el9 ALSA-2023:6365
AlmaLinux 8 cjose +1 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

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 cjose 0.6.1-4.module+el8.9.0+1384+4b58c166 RLSA-2023:6940
Rocky Linux 8 mod_auth_openidc 2.4.9.4-5.module+el8.9.0+1384+4b58c166 RLSA-2023:6940
ReleasePackageFixed inAdvisory
SLES 15 SP7 apache2-mod_auth_openidc 2.4.17.1-150600.16.14.1 SUSE-SU-2025:4532-1
SLES 15 SP6 apache2-mod_auth_openidc 2.4.17.1-150600.16.14.1 SUSE-SU-2025:4532-1
SLES 15 SP4 apache2-mod_auth_openidc 2.3.8-150100.3.22.1 SUSE-SU-2023:0215-1
SLES 12 SP5 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
SLES 12 SP4 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
SLES for SAP 12 SP4 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
SLE Real Time 15 SP3 apache2-mod_auth_openidc 2.3.8-150100.3.22.1 SUSE-SU-2023:0215-1
SUSE OpenStack Cloud Crowbar 9 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
SUSE OpenStack Cloud 9 apache2-mod_auth_openidc 2.4.0-7.9.1 SUSE-SU-2023:1837-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2-mod_auth_openidc 2.4.12.2-1.1 openSUSE-SU-2024:12584-1
openSUSE Leap 15.6 apache2-mod_auth_openidc 2.4.17.1-150600.16.14.1 SUSE-SU-2025:4532-1
openSUSE Leap 15.4 apache2-mod_auth_openidc 2.3.8-150100.3.22.1 SUSE-SU-2023:0215-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) mod_auth_openidc 2.4.14.2-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mod_auth_openidc 2.4.9.4-4.el9 ELSA-2023-6365
Oracle Linux 8 cjose +1 0.6.1-4.module+el8.9.0+90009+6a7196cf ELSA-2023-6940
Oracle Linux 8 mod_auth_openidc 2.4.9.4-5.module+el8.9.0+90009+6a7196cf ELSA-2023-6940

Advisories 13

References