CVE-2022-23527

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openidc:mod_auth_openidc:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:48

Type Values Removed Values Added
References () https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984 - Product () https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984 - Product
References () https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53 - Vendor Advisory () https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53 - Vendor Advisory
References () https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html - Mailing List () https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html - Mailing List
CVSS v2 : unknown
v3 : 6.1
v2 : unknown
v3 : 4.7
Summary
  • (es) mod_auth_openidc tiene certificación OpenID? Módulo de autenticación y autorización para el servidor HTTP Apache 2.x. Las versiones anteriores a la 2.4.12.2 son vulnerables a Open Redirect. Al proporcionar un parámetro de cierre de sesión al URI de redireccionamiento, el código existente en oidc_validate_redirect_url() no busca correctamente las URL que comienzan con /\t, lo que genera un redireccionamiento abierto. Este problema se solucionó en la versión 2.4.12.2. Los usuarios que no puedan actualizar pueden mitigar el problema configurando mod_auth_openidc para permitir solo la redirección cuando el destino coincida con una expresión regular determinada con OIDCRedirectURLsAllowed.

Information

Published : 2022-12-14 18:15

Updated : 2024-11-21 06:48


NVD link : CVE-2022-23527

Mitre link : CVE-2022-23527

CVE.ORG link : CVE-2022-23527


JSON object : View

Products Affected

debian

  • debian_linux

openidc

  • mod_auth_openidc
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')