CVE-2024-55875
Last modified
CVE-2024-55875 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. http4k is a functional toolkit for Kotlin HTTP applications. Prior to version 6.50.0.0, there is a potential XXE (XML External Entity Injection) vulnerability when http4k handling malicious XML contents within requests, which might allow attackers to read local sensitive information on server, trigger Server-side Request Forgery and even execute code under some circumstances. EPSS estimates a 1.90% chance of exploitation in the next 30 days.
Description
http4k is a functional toolkit for Kotlin HTTP applications. Prior to version 6.50.0.0, there is a potential XXE (XML External Entity Injection) vulnerability when http4k handling malicious XML contents within requests, which might allow attackers to read local sensitive information on server, trigger Server-side Request Forgery and even execute code under some circumstances. The original fix shipped in v5.41.0.0 / v4.50.0.0 closed the documented external-entity attack class (SSRF, local-file disclosure, code execution) by setting `ACCESS_EXTERNAL_DTD=""`, `ACCESS_EXTERNAL_SCHEMA=""`, and `isExpandEntityReferences=false` on the default `DocumentBuilderFactory`. A residual gap remained: the parser still accepted documents containing `<!DOCTYPE>` declarations even though external entity resolution was blocked. This left open billion-laughs-style internal entity expansion DoS attacks against any application using `Body.xml()` or `Document.asXmlDocument()` on untrusted XML. v6.50.0.0 closes this residual by adding `disallow-doctype-decl=true` and `FEATURE_SECURE_PROCESSING=true` to `defaultXmlParsingConfig`. Any document containing a `<!DOCTYPE>` is now rejected at parse time.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-55875?
How severe is CVE-2024-55875?
How do I fix CVE-2024-55875?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-5583The The Plus Addons for Elementor – Elementor Addons, Page T…5.4
- CVE-2024-5584The WordPress Online Booking and Scheduling Plugin – Bookly …6.4
- CVE-2024-5585In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.…8.8
- CVE-2024-5586Zohocorp ManageEngine ADAudit Plus versions below 8121 are v…8.8
- CVE-2024-55864Cross-site scripting vulnerability exists in My WP Customize…4.8
- CVE-2024-5587A vulnerability was found in Casdoor up to 1.335.0. It has b…6.9
- CVE-2024-55876XWiki Platform is a generic wiki platform. Starting in versi…5.4
- CVE-2024-55877XWiki Platform is a generic wiki platform. Starting in versi…8.8
- CVE-2024-55878SimpleXLSX is software for parsing and retrieving data from …6.8
- CVE-2024-55879XWiki Platform is a generic wiki platform. Starting in versi…8.8
- CVE-2024-5588A vulnerability was found in itsourcecode Learning Managemen…8.8
- CVE-2024-55881In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-55875?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
