CVE-2021-39191 URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.4, the 3rd-party init SSO functionality of mod_auth_openidc was reported to be vulnerable to an open redirect attack by supplying a crafted URL in the target_link_uri parameter. A patch in version 2.4.9.4 made it so that the OIDCRedirectURLsAllowed setting must be applied to the target_link_uri parameter. There are no known workarounds aside from upgrading to a patched version.
Upgrade path
9 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libapache2-mod-auth-openidc(Ubuntu 18.04) | = 2.1.6-1; = 2.3.1-2; = 2.3.2-1; = 2.3.2-1build1 +2 more | No fix listed | No fix yet |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu 20.04) | = 2.3.10.2-1; = 2.4.0.4-1; = 2.4.1-1; All versions | No fix listed | No fix yet |
| debian/libapache2-mod-auth-openidc(Debian 12) | < 2.4.9.4-1 | 2.4.9.4-1 | Fixed |
| debian/libapache2-mod-auth-openidc(Debian 13) | < 2.4.9.4-1 | 2.4.9.4-1 | Fixed |
| debian/libapache2-mod-auth-openidc(Debian 14) | < 2.4.9.4-1 | 2.4.9.4-1 | Fixed |
| OpenIDC mod_auth_openidc | < 2.4.9.4 | 2.4.9.4 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 35; = 36 | No fix listed | Versions listed |
| zmartzone mod_auth_openidc | = <=2.4.9.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libapache2-mod-auth-openidc(Debian:12) | < 2.4.9.4-1 | 2.4.9.4-1 |
| debian/libapache2-mod-auth-openidc(Debian:13) | < 2.4.9.4-1 | 2.4.9.4-1 |
| debian/libapache2-mod-auth-openidc(Debian:14) | < 2.4.9.4-1 | 2.4.9.4-1 |
| OpenIDC mod_auth_openidc | < 2.4.9.4 | 2.4.9.4 |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| zmartzone mod_auth_openidc | = <=2.4.9.3 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | = 2.1.6-1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | = 2.3.1-2 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | = 2.3.2-1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | = 2.3.2-1build1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:18.04) | = 2.3.3-1build1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:20.04) | = 2.3.10.2-1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:20.04) | = 2.4.0.4-1 | No fix listed |
| ubuntu/libapache2-mod-auth-openidc(Ubuntu:20.04) | = 2.4.1-1 | No fix listed |
References
- Debian Security Tracker CVE-2021-39191 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com exploit issue-tracking
- github.com issue-tracking release-notes
- github.com issue-tracking vendor-advisory
- [debian-lts-announce] 20230718 [SECURITY] [DLA 3499-1] libapache2-mod-auth-openidc security update mailing-list
- FEDORA-2021-8d9aca2ded vendor-advisory
- FEDORA-2022-814ee0c43b vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking