CVE-2021-21335 Basic Authentication can be bypassed using a malformed username
Attackers can bypass basic authentication in the nginx SPNEGO module by using a malformed username, requiring module upgrade or disabling basic auth.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-21335?
CVE-2021-21335 is a medium-severity authentication bypass vulnerability in stnoonan spnego-http-auth-nginx-module, published on 8 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the SPNEGO HTTP Authentication Module for nginx (spnego-http-auth-nginx-module) before version 1.1.1 basic Authentication can be bypassed using a malformed username. This affects users of spnego-http-auth-nginx-module that have enabled basic authentication. This is fixed in version 1.1.1 of spnego-http-auth-nginx-module. As a workaround, one may disable basic authentication.
Weakness: CWE-287
Which versions are affected by CVE-2021-21335?
It affects 1 product.
Products include Spnego Http Authentication Module Project Spnego Http Authentication Module.
How do I fix CVE-2021-21335?
No fix has been published for CVE-2021-21335 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-21335 being exploited?
There is no known exploitation of CVE-2021-21335 in the wild and no public exploit code.
Sources
Also known as GHSA-ww8q-72rx-hc54.