CVE-2024-23771 Auth bypass in n/a

Critical 9.8 Published Updated

Remote attackers can bypass authentication in darkhttpd via timing side-channel attacks due to non-constant-time string comparison.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-23771?

CVE-2024-23771 is a critical authentication bypass vulnerability in n/a, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

darkhttpd before 1.15 uses strcmp (which is not constant time) to verify authentication, which makes it easier for remote attackers to bypass authentication via a timing side channel.

Weakness: CWE-203

Which versions are affected by CVE-2024-23771?

It affects 1 product.

Products include Unix4lyfe Darkhttpd.

How do I fix CVE-2024-23771?

Upgrade to a fixed version.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-23771 being exploited?

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

Sources

Also known as ALPINE-CVE-2024-23771, GHSA-8cwm-wr6q-x76p, ROOT-OS-ALPINE-318-CVE-2024-23771, ROOT-OS-ALPINE-319-CVE-2024-23771.

Is CVE-2024-23771 in your software?

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

Check your SBOMs for free