electerm: Path traversal in electerm runWidget leads to arbitrary code execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| electerm | electerm | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Electerm | Electerm |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f77v-9vpc-6pjm | Electerm runWidget has a path traversal that leads to arbitrary code execution |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.167% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Electerm
Electerm electerm |
|
| Vendors & Products |
Electerm
Electerm electerm |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Electerm Project
Electerm Project electerm |
|
| CPEs | cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Electerm Project
Electerm Project electerm |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.7.16, the runWidget function in src/app/widgets/load-widget.js constructs a file path by directly concatenating user‑supplied widget identifiers without any sanitisation. Because runWidget is exposed to the renderer process via an asynchronous IPC handler with no input validation, an attacker who achieves JavaScript execution inside the renderer (for example, through a malicious plugin or a cross‑site scripting flaw in the built‑in webview) can abuse a path traversal (../) to load and execute an arbitrary JavaScript file anywhere on the victim’s filesystem. This gives the attacker local code execution with the full privileges of the electerm process, leading to complete system compromise. This issue has been patched in version 3.7.16. | |
| Title | electerm: Path traversal in electerm runWidget leads to arbitrary code execution | |
| Weaknesses | CWE-22 CWE-829 |
|
| References |
| |
| Metrics |
cvssV3_1
|