CVE-2021-32642 Missing input validation in dynamic discovery example scripts.
Attackers can inject configuration via crafted DNS records in radsecproxy discovery scripts, causing data leaks, DoS, or unauthorized network access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32642?
CVE-2021-32642 is a high-severity code injection vulnerability in Fedoraproject Fedora, published on 28 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
radsecproxy is a generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports. Missing input validation in radsecproxy's `naptr-eduroam.sh` and `radsec-dynsrv.sh` scripts can lead to configuration injection via crafted radsec peer discovery DNS records. Users are subject to Information disclosure, Denial of Service, Redirection of Radius connection to a non-authenticated server leading to non-authenticated network access. Updated example scripts are available in the master branch and 1.9 release. Note that the scripts are not part of the installation package and are not updated automatically. If you are using the examples, you have to update them manually. The dyndisc scripts work independently of the radsecproxy code. The updated scripts can be used with any version of radsecproxy.
Which versions are affected by CVE-2021-32642?
It affects 2 products.
Products include Fedoraproject Fedora, Uninett Radsecproxy.
How do I fix CVE-2021-32642?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-32642 being exploited?
There is no known exploitation of CVE-2021-32642 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-32642, GHSA-56gw-9rj9-55rc, UBUNTU-CVE-2021-32642.