Cobalt Strike 4.7.1 Swing RCE via Unescaped HTML
CVE-2022-42948 Published on March 24, 2023
Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components. By injecting crafted HTML code, it is possible to remotely execute code in the Cobalt Strike UI.
Known Exploited Vulnerability
This Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. Fortra Cobalt Strike User Interface contains an unspecified vulnerability rooted in Java Swing that may allow remote code execution.
The following remediation steps are recommended / required by April 20, 2023: Apply updates per vendor instructions.
Vulnerability Analysis
CVE-2022-42948 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors in an automatable fashion. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is an Output Sanitization Vulnerability?
The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
CVE-2022-42948 has been classified to as an Output Sanitization vulnerability or weakness.
Products Associated with CVE-2022-42948
Want to know whenever a new CVE is published for Helpsystems Cobalt Strike? stack.watch will email you.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.