CVE-2022-39197
CONFIRMED EXPLOITEDFortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability
Is Fortra Cobalt Strike affected by CVE-2022-39197?
Fortra Cobalt Strike is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2022-39197, added on 2023-03-30. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): helpsystems cobalt_strike.
Published CPE version bounds mark releases below 4.7.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-04-20.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2022-42948Same productFortra Cobalt Strike
Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability
- CVE-2025-10035Same vendorFortra GoAnywhere MFT
Fortra GoAnywhere MFT Deserialization of Untrusted Data Vulnerability
- CVE-2023-0669Same vendorFortra GoAnywhere MFT
Fortra GoAnywhere MFT Remote Code Execution Vulnerability
- CVE-2023-25915Shared weaknessDanfoss AK-SM 800A Series
Danfoss AK-SM 800A Series Improper Input Validation Vulnerability
- CVE-2022-38181Neighboring entryArm Mali Graphics Processing Unit (GPU)
Arm Mali GPU Kernel Driver Use-After-Free Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Fortra Cobalt Strike contains a cross-site scripting (XSS) vulnerability in Teamserver that would allow an attacker to set a malformed username in the Beacon configuration, allowing them to execute code remotely.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-03-30. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Cobalt Strike has been compromised.
- Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
- Client / parser surface (Fortra Cobalt Strike): exploitation typically involves rendering crafted web content, documents, or media. Monitor endpoint EDR / process trees for sandbox escapes, unexpected child processes spawned by client applications, and anomalous outbound connections (`Zeek dns.log`, `conn.log`).
- Inventory all hosts running Fortra Cobalt Strike and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/MitigationVendor Advisory
- https://www.cobaltstrike.com/blog/tag/release/Release NotesVendor Advisory
- https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/MitigationVendor Advisory
- https://www.cobaltstrike.com/blog/tag/release/Release NotesVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-39197US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting