Header injection via unsanitized addHeader values
Published Jul 6, 2023 · Updated Nov 19, 2024
CRLF injection in all Drogon versions allows remote attackers to inject request headers through application-supplied header values. The addHeader function accepts carriage-return and line-feed characters without validation, then serializes them into an outbound HTTP request as new header lines. Exploitation requires a consuming application to place attacker-controlled data in a request header and can cause extra headers or a second request to reach an upstream server.
Summary
What happened
CRLF injection in all Drogon versions allows remote attackers to inject request headers through application-supplied header values. The addHeader function accepts carriage-return and line-feed characters without validation, then serializes them into an outbound HTTP request as new header lines. Exploitation requires a consuming application to place attacker-controlled data in a request header and can cause extra headers or a second request to reach an upstream server.
The record
- CVE
- CVE-2023-26138
- Published
- Jul 6, 2023
- Updated
- Nov 19, 2024
- Vendor
- Drogon
- Product
- Drogon
- Classifications
- CWE-93, CWE-74, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 6, 2023CVE publishedPublication date reported by the CVE source.
- Nov 19, 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=0 <*
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
- CRLF Injection in drogon 1.8.4 proof of conceptproof of concept · demonstrated
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