CVE-2023-41034 DDFFileParser in eclipse leshan is vulnerable to XXE Attacks
Attackers can exploit XML External Entity vulnerabilities in Eclipse Leshan by providing malicious DDF files, potentially leading to data exposure or service disruption.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-41034?
CVE-2023-41034 is a medium-severity vulnerability in eclipse-leshan leshan, published on 31 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-611
Which versions are affected by CVE-2023-41034?
4 open source packages ship an affected version, including org.eclipse.leshan:leshan-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.eclipse.leshan:leshan-core Maven | All versions | 1.5.0 |
org.eclipse.leshan:leshan-core Maven | All versions | 1.5.0 |
org.eclipse.leshan:leshan-core Maven | From 2.0.0-M1 | 2.0.0-M13 |
org.eclipse.leshan:leshan-core Maven | From 2.0.0-M1 | 2.0.0-M13 |
Products include Eclipse Leshan.
How do I fix CVE-2023-41034?
Upgrade org.eclipse.leshan:leshan-core to a fixed version for your release line: 1.5.0 or 2.0.0-M13.
Is CVE-2023-41034 being exploited?
There is no known exploitation of CVE-2023-41034 in the wild and no public exploit code.
Sources
Also known as GHSA-wc9j-gc65-3cm7.