PT-2023-5313 · Eclipse · Eclipse Leshan

Jaroslawlegierski

·

Published

2023-08-31

·

Updated

2023-09-06

·

CVE-2023-41034

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Eclipse Leshan versions prior to 1.5.0 Eclipse Leshan versions prior to 2.0.0-M13
Description The issue is related to the incorrect restriction of XML links to external objects, which can allow a remote attacker to perform an XXE attack. This affects the DDFFileParser and DefaultDDFFileValidator (and so ObjectLoader) components. Users are impacted only if they parse untrusted DDF files. A DDF file is a LWM2M format used to store LWM2M object descriptions.
Recommendations For versions prior to 1.5.0, upgrade to version 1.5.0 or later. For versions prior to 2.0.0-M13, upgrade to version 2.0.0-M13 or later. As a temporary workaround, consider creating a DocumentBuilderFactory with secure processing features, such as setting FEATURE SECURE PROCESSING to true, disabling DTDs, and disabling XML inclusions. Additionally, for DefaultDDFFileValidator, set FEATURE SECURE PROCESSING to true and restrict access to external DTDs and schemas.

Exploit

Fix

XXE

Weakness Enumeration

Related Identifiers

BDU:2023-05939
CVE-2023-41034
GHSA-WC9J-GC65-3CM7

Affected Products

Eclipse Leshan