Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-j24h-xcpc-9jw8

Опубликовано: 30 нояб. 2023
Источник: github
Github: Прошло ревью
CVSS3: 5

Описание

Eclipse IDE XXE in eclipse.platform

Impact

xml files like ".project" 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).

Vulnerablility was found by static code analysis (SonarLint).

Example .project file:

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE price [ <!ENTITY xxe SYSTEM "http://127.0.0.1:49416/evil">]> <projectDescription> <name>p</name> <comment>&xxe;</comment> </projectDescription>

Patches

Similar patches including junit test that shows the vulnerability have already applied to PDE (see https://github.com/eclipse-pde/eclipse.pde/pull/667). A solution to platform should be the same: just reject parsing any XML that contains any DOCTYPE.

Workarounds

No known workaround. User can only avoid to get/open any foreign files with eclipse. Firewall rules against loss of data (but not against XML bomb).

References

https://cwe.mitre.org/data/definitions/611.html https://rules.sonarsource.com/java/RSPEC-2755 https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8 (Report for multiple projects affected)

Пакеты

Наименование

org.eclipse.platform:org.eclipse.core.runtime

maven
Затронутые версииВерсия исправления

< 3.29.0

3.29.0

Наименование

org.eclipse.platform:org.eclipse.platform

maven
Затронутые версииВерсия исправления

< 4.29.0

4.29.0

Наименование

org.eclipse.platform:org.eclipse.jface

maven
Затронутые версииВерсия исправления

< 3.31.0

3.31.0

Наименование

org.eclipse.platform:org.eclipse.ui.forms

maven
Затронутые версииВерсия исправления

< 3.13.0

3.13.0

Наименование

org.eclipse.platform:org.eclipse.ui.ide

maven
Затронутые версииВерсия исправления

< 3.21.100

3.21.100

Наименование

org.eclipse.platform:org.eclipse.ui.workbench

maven
Затронутые версииВерсия исправления

< 3.130.0

3.130.0

Наименование

org.eclipse.platform:org.eclipse.urischeme

maven
Затронутые версииВерсия исправления

< 1.3.100

1.3.100

Наименование

org.eclipse.jdt:org.eclipse.jdt.ui

maven
Затронутые версииВерсия исправления

< 3.30.0

3.30.0

EPSS

Процентиль: 6%
0.00026
Низкий

5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5
ubuntu
больше 1 года назад

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).

CVSS3: 5
nvd
больше 1 года назад

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).

CVSS3: 5
debian
больше 1 года назад

In Eclipse IDE versions < 2023-09 (4.29) some files with xml content a ...

suse-cvrf
около 1 года назад

Security update for eclipse, maven-surefire, tycho

CVSS3: 5
redos
12 месяцев назад

Уязвимость opensearch

EPSS

Процентиль: 6%
0.00026
Низкий

5 Medium

CVSS3