CVE-2024-5165
JSON

6.5medium

Eclipse Ditto User Interface vulnerable to XSS due to Improper Neutralization of Input

Severity
6.5medium CVSS:3.1 by eclipse
Exploit likelihood
0.87% (higher than 56% of CVEs)
Published
Last changed
Assigned by
eclipse
Also known as
GHSA-hjfc-6jxr-j2rx

Description

In Eclipse Ditto versions 3.0.0 to 3.5.5, the user input of several input fields of the Eclipse Ditto Explorer User Interface https://eclipse.dev/ditto/user-interface.html was not properly neutralized and thus vulnerable to both Reflected and Stored XSS (Cross Site Scripting). Several inputs were not persisted at the backend of Eclipse Ditto, but only in local browser storage to save settings of "environments" of the UI and e.g. the last performed "search queries", resulting in a "Reflected XSS" vulnerability. However, several other inputs were persisted at the backend of Eclipse Ditto, leading to a "Stored XSS" vulnerability. Those mean that authenticated and authorized users at Eclipse Ditto can persist Things in Ditto which can - when being displayed by other users also being authorized to see those Things in the Eclipse Ditto UI - cause scripts to be executed in the browser of other users.

Affected

Product or packageVersionsReported by
Eclipse Foundation Eclipse Dittobefore 3.4.6, from 3.5.0 before 3.5.6CVE List
org.eclipse.ditto:ditto (Maven)from 3.0.0 before 3.4.5, from 3.5.0 before 3.5.6GitHub Advisory Database
eclipse dittofrom 3.0.0 before 3.5.6NVD

All scores

eclipse6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In Eclipse Ditto versions 3.0.0 to 3.5.5, the user input of several input fields of the Eclipse Ditto Explorer User Interface https://eclipse.dev/ditto/user-interface.html was not properly neutralized and thus vulnerable to both Reflected and Stored XSS (Cross Site Scripting). Several inputs were not persisted at the backend of Eclipse Ditto, but only in local browser storage to save settings of "environments" of the UI and e.g. the last performed "search queries", resulting in a "Reflected XSS" vulnerability. However, several other inputs were persisted at the backend of Eclipse Ditto, leading to a "Stored XSS" vulnerability. Those mean that authenticated and authorized users at Eclipse Ditto can persist Things in Ditto which can - when being displayed by other users also being authorized to see those Things in the Eclipse Ditto UI - cause scripts to be executed in the browser of other users.

GitHub Advisory Database

In Eclipse Ditto starting in version 3.0.0 and prior to versions 3.4.5 and 3.5.6, the user input of several input fields of the Eclipse Ditto Explorer User Interface https://eclipse.dev/ditto/user-interface.html was not properly neutralized and thus vulnerable to both Reflected and Stored XSS (Cross Site Scripting).

Several inputs were not persisted at the backend of Eclipse Ditto, but only in local browser storage to save settings of "environments" of the UI and e.g. the last performed "search queries", resulting in a "Reflected XSS" vulnerability.

However, several other inputs were persisted at the backend of Eclipse Ditto, leading to a "Stored XSS" vulnerability. Those mean that authenticated and authorized users at Eclipse Ditto can persist Things in Ditto which can - when being displayed by other users also being authorized to see those Things in the Eclipse Ditto UI - cause scripts to be executed in the browser of other users.

NVD (es)

En las versiones 3.0.0 a 3.5.5 de Eclipse Ditto, la entrada del usuario de varios campos de entrada de la interfaz de usuario de Eclipse Ditto Explorer https://eclipse.dev/ditto/user-interface.html no se neutralizó adecuadamente y, por lo tanto, fue vulnerable a ambos. XSS reflejado y almacenado (Cross Site Scripting). Varias entradas no persistieron en el backend de Eclipse Ditto, sino solo en el almacenamiento del navegador local para guardar la configuración de los "entornos" de la interfaz de usuario y, por ejemplo, las últimas "consultas de búsqueda" realizadas, lo que resultó en una vulnerabilidad "XSS reflejada". Sin embargo, varias otras entradas persistieron en el backend de Eclipse Ditto, lo que provocó una vulnerabilidad "Stored XSS". Esto significa que los usuarios autenticados y autorizados en Eclipse Ditto pueden conservar cosas en Ditto que pueden, cuando son mostradas por otros usuarios que también están autorizados a ver esas cosas en la interfaz de usuario de Eclipse Ditto, provocar que se ejecuten scripts en el navegador de otros usuarios.

References

https://gitlab.eclipse.org/security/cve-assignement/-/issues/23issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/211exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/210exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/209exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/207exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/204exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/202exploit, issue-tracking, vendor-advisory, web
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/201exploit, issue-tracking, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2024-5165advisory
https://github.com/eclipse-ditto/ditto/commit/20399a0ab9ef219c7833c24cf8140ddfb298788dweb
https://github.com/eclipse-ditto/ditto/commit/8fe1b3b9e0e2c333856dc166c8c3c7d2027c856dweb
https://github.com/eclipse-ditto/ditto/commit/9d1bac36ca7be94516635ef71eedfea6df1e77f4web

Sources

SourceRecordLicence
CVE ListCVE-2024-5165 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-hjfc-6jxr-j2rx changed 2024-05-23CC-BY-4.0
NVDCVE-2024-5165 changed 2026-06-17Public domain