Server crash via oversized file modification date
Published Apr 1, 2022 · Updated Aug 4, 2024
Denial of service in darkhttpd 1.13-1 and earlier allows remote attackers to crash the server by requesting a file dated year 10,000 or later. The rfc1123_date function in darkhttpd.c mishandles the out-of-range modification time while generating the HTTP date value, terminating the process. The request requires no authentication, but the server must expose a file whose modification time is in year 10,000 or later.
Summary
What happened
Denial of service in darkhttpd 1.13-1 and earlier allows remote attackers to crash the server by requesting a file dated year 10,000 or later. The rfc1123_date function in darkhttpd.c mishandles the out-of-range modification time while generating the HTTP date value, terminating the process. The request requires no authentication, but the server must expose a file whose modification time is in year 10,000 or later.
The record
- CVE
- CVE-2020-25691
- Published
- Apr 1, 2022
- Updated
- Aug 4, 2024
- Vendor
- Emil Mikulic
- Product
- darkhttpd
- Classifications
- CWE-755, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2022CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=versions up to and including darkhttpd-1.13-1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo