Vulnerability · Published Apr 28, 2023 · Assigned by GitHub_M
CVE-2023-30856eDEX-UI cross-site websocket hijacking vulnerability enables remote command execution
High 8.3
In plain English
A high-severity security flaw in edex-ui from GitSquared. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 29% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
eDEX-UI is a science fiction terminal emulator. Versions 2.2.8 and prior are vulnerable to cross-site websocket hijacking. When running eDEX-UI and browsing the web, a malicious website can connect to eDEX's internal terminal control websocket, and send arbitrary commands to the shell. The project has been archived since 2021, and as of time of publication there are no plans to patch this issue and release a new version. Some workarounds are available, including shutting down eDEX-UI when browsing the web and ensuring the eDEX terminal runs with lowest possible privileges.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitSquared | edex-ui | <= 2.2.8 |
Weakness: CWE-1385, CWE-346 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
References
- https://github.com/GitSquared/edex-ui/security/advisories/GHSA-q8xc-f2wf-ffh9 x_refsource_CONFIRM
- https://christian-schneider.net/CrossSiteWebSocketHijacking.html x_refsource_MISC
- https://github.com/GitSquared/edex-ui/blob/04a00c4079908788b371c6ecdefff96d0d9950f8/src/classes/terminal.class.js#L458 x_refsource_MISC