// For flags

CVE-2022-23465

SwiftTerm vulnerable to arbitrary command execution

Severity Score

7.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

SwiftTerm is a Xterm/VT100 Terminal emulator. Prior to commit a94e6b24d24ce9680ad79884992e1dff8e150a31, an attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. Version a94e6b24d24ce9680ad79884992e1dff8e150a31 contains a patch for this issue. There are no known workarounds available.

SwiftTerm es un emulador de terminal Xterm/VT100. Antes del commit a94e6b24d24ce9680ad79884992e1dff8e150a31, un atacante podría modificar el título de la ventana mediante una determinada secuencia de escape de caracteres y luego insertarlo nuevamente en la línea de comando en la terminal del usuario, por ejemplo, cuando el usuario ve un archivo que contiene la secuencia maliciosa, lo que podría permitir al atacante ejecutar comandos arbitrarios. La versión a94e6b24d24ce9680ad79884992e1dff8e150a31 contiene un parche para este problema. No se conocen workarounds disponibles.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-01-19 CVE Reserved
  • 2022-12-02 CVE Published
  • 2024-06-24 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Swiftterm Project
Search vendor "Swiftterm Project"
Swiftterm
Search vendor "Swiftterm Project" for product "Swiftterm"
< 2022-12-02
Search vendor "Swiftterm Project" for product "Swiftterm" and version " < 2022-12-02"
-
Affected