CVE-2021-32792 XSS vulnerability when using OIDCPreservePost On in mod_auth_openidc

Low 3.1 Published Updated

Cross-site scripting vulnerability in mod_auth_openidc allows attackers to execute scripts when OIDCPreservePost is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-32792?

CVE-2021-32792 is a low-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 26 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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 mod_auth_openidc before version 2.4.9, there is an XSS vulnerability in when using `OIDCPreservePost On`.

Weakness: CWE-79

Which versions are affected by CVE-2021-32792?

It affects 2 products.

Products include Fedoraproject Fedora, Openidc Mod Auth Openidc.

How do I fix CVE-2021-32792?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-32792 being exploited?

There is no known exploitation of CVE-2021-32792 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-6482, DEBIAN-CVE-2021-32792, GHSA-458c-7pwg-3j7j, UBUNTU-CVE-2021-32792.

Is CVE-2021-32792 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free