libapache2-mod-auth-openidc: CVE-2021-32786

Related Vulnerabilities: CVE-2021-32786  

Debian Bug report logs - #991582
libapache2-mod-auth-openidc: CVE-2021-32786

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 27 Jul 2021 20:09:03 UTC

Severity: important

Tags: security, upstream

Found in version libapache2-mod-auth-openidc/2.4.4.1-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Moritz Schlarb <schlarbm@uni-mainz.de>:
Bug#991582; Package src:libapache2-mod-auth-openidc. (Tue, 27 Jul 2021 20:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Moritz Schlarb <schlarbm@uni-mainz.de>. (Tue, 27 Jul 2021 20:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libapache2-mod-auth-openidc: CVE-2021-32786
Date: Tue, 27 Jul 2021 22:06:06 +0200
Source: libapache2-mod-auth-openidc
Version: 2.4.4.1-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for libapache2-mod-auth-openidc.

CVE-2021-32786[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-32786
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32786
[1] https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-xm4c-5wm5-jqv7

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 28 16:17:25 2021; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.