Skip to content

Cmder before 1.3.21 report the title of the terminal, including control characters, which allows an attacker to change the title and then execute it as commands.

Critical
MartiUK published GHSA-vm56-hh5p-448v Jul 20, 2023

Package

cmder

Affected versions

< 1.3.21

Patched versions

>= 1.3.21

Description

Impact

ConEmu through 220807 and Cmder before 1.3.21 report the title of the terminal, including control characters, which allows an attacker to change the title and then execute it as commands.

Patches

Cmder has been patched as of version 1.3.21.

Workarounds

Ideally you should upgrade but you can update the version of ConEmu in the vendor/sources.json file and run the scripts/build.ps1 file. That should download and unpack the latest version.

References

GHSA-hfcw-j543-xjp3
https://nvd.nist.gov/vuln/detail/CVE-2022-46387
https://gist.github.com/dgl/05ca60cdc7efc9e47bbc58d0c952635e

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2022-46387

Weaknesses

No CWEs

Credits