Bug 2259492 (CVE-2024-23771)

Summary: CVE-2024-23771 darkhttpd: uses strcmp to verify authentication to bypass authentication via a timing side channel
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2259493, 2259494    
Bug Blocks:    

Description Rohit Keshri 2024-01-22 05:58:30 UTC
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.

https://github.com/emikulic/darkhttpd/commit/f477619d49f3c4de9ad59bd194265a48ddc03f04
https://github.com/emikulic/darkhttpd/compare/v1.14...v1.15

Comment 1 Rohit Keshri 2024-01-22 05:58:52 UTC
Created darkhttpd tracking bugs for this issue:

Affects: epel-all [bug 2259493]
Affects: fedora-all [bug 2259494]