CVE-2023-4218 XXE in eclipse.platform / Eclipse IDE

Medium 5.0 Published Updated

Attackers can exploit XML External Entity vulnerabilities in Eclipse IDE by tricking users into opening malicious projects, leading to data exposure or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-4218?

CVE-2023-4218 is a medium-severity vulnerability in Eclipse IDE, published on 9 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In Eclipse IDE versions < 2023-09 (4.29) some files with xml content are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review a foreign repository or patch).

Weakness: CWE-611

Which versions are affected by CVE-2023-4218?

16 open source packages ship an affected version, including org.eclipse.platform:org.eclipse.ui.ide, org.eclipse.jdt:org.eclipse.jdt.ui and org.eclipse.platform:org.eclipse.core.runtime. It affects 3 products.

PackageAffectedFixed in
org.eclipse.platform:org.eclipse.ui.ide MavenAll versions3.21.100
org.eclipse.platform:org.eclipse.ui.ide MavenAll versions3.21.100
org.eclipse.jdt:org.eclipse.jdt.ui MavenAll versions3.30.0
org.eclipse.jdt:org.eclipse.jdt.ui MavenAll versions3.30.0
org.eclipse.platform:org.eclipse.core.runtime MavenAll versions3.29.0
org.eclipse.platform:org.eclipse.core.runtime MavenAll versions3.29.0
10 more packages
org.eclipse.platform:org.eclipse.jface MavenAll versions3.31.0
org.eclipse.platform:org.eclipse.jface MavenAll versions3.31.0
org.eclipse.platform:org.eclipse.platform MavenAll versions4.29.0
org.eclipse.platform:org.eclipse.platform MavenAll versions4.29.0
org.eclipse.platform:org.eclipse.ui.forms MavenAll versions3.13.0
org.eclipse.platform:org.eclipse.ui.forms MavenAll versions3.13.0
org.eclipse.platform:org.eclipse.ui.workbench MavenAll versions3.130.0
org.eclipse.platform:org.eclipse.ui.workbench MavenAll versions3.130.0
org.eclipse.platform:org.eclipse.urischeme MavenAll versions1.3.100
org.eclipse.platform:org.eclipse.urischeme MavenAll versions1.3.100
Linux distribution packages (24)
maven-surefire SUSE:Enterprise Storage 7.1All versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Enterprise Storage 7.1All versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise Module for Development Tools 15 SP5All versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise Module for Development Tools 15 SP5All versions2.22.2-150200.3.9.9.1
eclipse SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions4.15-150200.4.16.4
eclipse-bootstrap SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions4.15-150200.4.16.5
eclipse-emf SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions2.22.0-150200.4.9.3
eclipse-emf-bootstrap SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions2.22.0-150200.4.9.3
maven-surefire SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.22.2-150200.3.9.9.1
maven-surefire SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.22.2-150200.3.9.9.1
maven-surefire-plugins SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.22.2-150200.3.9.9.1

Products include Eclipse Eclipse Ide, Eclipse Org.eclipse.core.runtime, Eclipse Pde.

How do I fix CVE-2023-4218?

Upgrade org.eclipse.platform:org.eclipse.ui.ide to 3.21.100 or later.

Is CVE-2023-4218 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4218 exists.

Sources

Also known as GHSA-j24h-xcpc-9jw8, SUSE-SU-2024:1304-1, UBUNTU-CVE-2023-4218, openSUSE-SU-2024:13786-1, openSUSE-SU-2024:13787-1.

Is CVE-2023-4218 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free