Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2023-41034

Severity High
Score 9.8/10

Summary

Eclipse Leshan is a device management server and client Java implementation. In versions prior to 1.5.0 and 2.0.x prior to 2.0.0-M13, "DDFFileParser" and "DefaultDDFFileValidator" (and so "ObjectLoader") are vulnerable to XXE Attacks. A DDF file is a LWM2M format used to store LWM2M object description. Leshan users are impacted only if they parse untrusted DDF files (e.g. if they let external users provide their own model), in that case, they MUST upgrade to a fixed version. If you parse only trusted DDF file and validate only with trusted xml schema, upgrading is not mandatory. There are no known workarounds for this vulnerability.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-611 - Improper Restriction of XML External Entity Reference

Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.

Advisory Timeline

  • Published