CVE-2023-30856 eDEX-UI cross-site websocket hijacking vulnerability enables remote command execution
CriticalCVSS 10.0
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| edex-ui project edex-ui | <= 2.2.8 | after 2.2.8 | Fixed |
| GitSquared edex-ui | = <= 2.2.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GitSquared edex-ui | = <= 2.2.8 | No fix listed |
| edex-ui project edex-ui | <= 2.2.8 | No fix listed |
References
- https://github.com/GitSquared/edex-ui/security/advisories/GHSA-q8xc-f2wf-ffh9 vendor-advisory
- https://christian-schneider.net/CrossSiteWebSocketHijacking.html technical-description
- https://github.com/GitSquared/edex-ui/blob/04a00c4079908788b371c6ecdefff96d0d9950f8/src/classes/terminal.class.js#L458 product