CVE-2022-42948KEV · OVERDUE

Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability

Critical · published March 24, 2023

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 85.9th percentile for exploit probability.

1282
days past CISA
deadline
CVSS v3.1
9.8
EPSS
3%
Percentile
85.9
In the wild
Confirmed
What it is

🚨 A crafty HTML injection lets attackers remotely execute code right in the Cobalt Strike UI! This is not just a minor oopsie, folks – it’s a critical vulnerability that demands your attention! 🔥 Think of it like a restaurant where a diner can slip a secret ingredient into the chef's special without anyone noticing – suddenly, the whole menu is at risk! In this case, the malicious HTML is like that sneaky ingredient, disrupting the entire meal. An attacker could exploit this vulnerability to inject malicious code, effectively hijacking the Cobalt Strike interface and executing commands with the same privileges as the user. This could lead to unauthorized access, data leakage, and potentially devastating consequences for your network and infrastructure.

Put simply

Think of it like a restaurant where a diner can slip a secret ingredient into the chef's special without anyone noticing – suddenly, the whole menu is at risk! In this case, the malicious HTML is like that sneaky ingredient, disrupting the entire meal. Cobalt Strike 4.7.1 fails to properly sanitize HTML tags in its Swing components, allowing attackers to inject crafted HTML that executes arbitrary code when rendered in the UI.

What to do

An attacker could exploit this vulnerability to inject malicious code, effectively hijacking the Cobalt Strike interface and executing commands with the same privileges as the user. This could lead to unauthorized access, data leakage, and potentially devastating consequences for your network and infrastructure. Immediately patch to Cobalt Strike version 4.7.2 or later to fix this vulnerability. Additionally, review your deployment and ensure that proper input validation mechanisms are in place to prevent future code injection attacks. Don't forget to monitor logs for any suspicious activity! You've got this! Follow these steps, and you'll be bolstering your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02706 · 85.9th percentile
Published
2023-03-24T00:00Z
KEV added
2023-03-30 · due 2023-04-20
EPSS history
Timeline
  • 30 MAR 00:00Z
    Added to CISA KEV — remediate by Apr 20
    kev
  • 24 MAR 00:00Z
    Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components
    cvelistv5