PT-2023-28286 · Eclipse+2 · Eclipse Ide+2

Jörg Kubitz

+1

·

Published

2023-11-09

·

Updated

2024-07-04

·

CVE-2023-4218

CVSS v3.1

5.0

Medium

VectorAV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Eclipse IDE versions prior to 2023-09 (4.29)
Description The issue concerns the parsing of XML content in certain files, making them vulnerable to XXE attacks. This can occur when a user opens a malicious project or updates an open project with a vulnerable file, such as reviewing a foreign repository or patch. The vulnerability was discovered through static code analysis using SonarLint. XML files, like ".project" files, are affected. For example, a malicious .project file could contain a DOCTYPE declaration that references an external entity, allowing for XXE attacks.
Recommendations For Eclipse IDE versions prior to 2023-09 (4.29), consider rejecting the parsing of any XML that contains a DOCTYPE declaration as a potential solution, similar to patches applied to PDE. Until a patch is available, users can avoid opening or accessing foreign files with Eclipse to minimize the risk of exploitation. Additionally, implementing firewall rules can help prevent data loss, although this does not directly protect against XML bombs. At the moment, there is no known workaround other than avoiding foreign files.

Exploit

Fix

XXE

Weakness Enumeration

Related Identifiers

CVE-2023-4218
GHSA-CC4W-3CFF-J8FW
GHSA-J24H-XCPC-9JW8
OPENSUSE-SU-2024:13786-1
OPENSUSE-SU-2024:13787-1
OPENSUSE-SU-2024_1304-1
SUSE-SU-2024:1304-1
SUSE-SU-2024_1304-1

Affected Products

Eclipse Ide
Red Os
Suse