cbcvebase.
CVE-2021-32786
published 2021-07-22

CVE-2021-32786: mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating…

PriorityP431medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
2.36%
82.0th percentile
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9, `oidc_validate_redirect_url()` does not parse URLs the same way as most browsers do. As a result, this function can be bypassed and leads to an Open Redirect vulnerability in the logout functionality. This bug has been fixed in version 2.4.9 by replacing any backslash of the URL to redirect with slashes to address a particular breaking change between the different specifications (RFC2396 / RFC3986 and WHATWG). As a workaround, this vulnerability can be mitigated by configuring `mod_auth_openidc` to only allow redirection whose destination matches a given regular expression.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlibapache2-mod-auth-openidc< libapache2-mod-auth-openidc 2.4.9-1 (bookworm)libapache2-mod-auth-openidc 2.4.9-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
msrccbl2_httpd_2.4.52-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
openidcmod_auth_openidc< 2.4.92.4.9
zmartzonemod_auth_openidc< 2.4.92.4.9

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
osv6.1MEDIUM
vendor_msrc6.1MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.