CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
Percentile
35.0%
leshan-core is vulnerable to XML External Entity (XXE) Injection. The vulnerability exists because the DDFFileParser
function of DDFFileParser.java
and the validate
function of DefaultDDFFileValidator.java
does not properly sanitize external DTDs by default, which allows an attacker to inject and execute maliciously crafted XML documents. This vulnerability is only applicable in an application that parses (untrusted) DDF model files.
github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013
github.com/eclipse-leshan/leshan/commit/4d3e63ac271a817f81fba3e3229c519af7a3049c
github.com/eclipse-leshan/leshan/security/advisories/GHSA-wc9j-gc65-3cm7
github.com/eclipse-leshan/leshan/wiki/Adding-new-objects#the-lwm2m-model
owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing