{"id":"CVE-2023-41034","published":"2023-08-31T17:01:38Z","modified":"2024-09-27T14:17:15Z","title":"DDFFileParser in eclipse leshan is vulnerable to XXE Attacks","vendor":"eclipse-leshan","product":"leshan","tier":"tail","description":{"text":"Eclipse Leshan is a device management server and client Java implementation. In affected versions 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 fixed version. If you parse only trusted DDF file and validate only with trusted xml schema, upgrading is not mandatory.  This issue has been fixed in versions 1.5.0 and 2.0.0-M13. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00874,"percentile":0.56612,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/eclipse-leshan/leshan/security/advisories/GHSA-wc9j-gc65-3cm7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse-leshan/leshan/commit/4d3e63ac271a817f81fba3e3229c519af7a3049c","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse-leshan/leshan/wiki/Adding-new-objects#the-lwm2m-model","tags":["x_refsource_MISC"]},{"url":"https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":11.32},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"eclipse-leshan","affectedVersions":[{"vendor":"eclipse-leshan","product":"leshan","versions":["< 1.5.0",">= 2.0.0-M1, < 2.0.0-M13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-27T13:05:33.598804Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.eclipse.leshan:leshan-core","vulnerableRanges":["<1.5.0",">=2.0.0-M1, <2.0.0-M13"],"patched":["1.5.0","2.0.0-M13"],"from":["GHSA-wc9j-gc65-3cm7"],"provenance":"source"}],"summary":{"text":"The DDFFileParser and DefaultDDFFileValidator components (and therefore ObjectLoader) in Eclipse Leshan, a Java device management server and client implementation for LWM2M, are vulnerable to XML External Entity (XXE) attacks when processing DDF files. An attacker who can supply a DDF file to an affected Leshan deployment that parses untrusted input, such as a setup that lets external users provide their own object model, can exploit this over the network with high attack complexity and no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:36Z"},"euvd":{"id":"EUVD-2023-2373","exploited":false,"provenance":"source"}}