Cross-site scripting in Cobalt Strike through 4.7
CVE-2022-39197 is a cross-site scripting vulnerability affecting HelpSystems Cobalt Strike through version 4.7. A remote attacker can supply a malformed username field in a Cobalt Strike payload to cause attacker-controlled HTML to execute on the Cobalt Strike teamserver. Exploitation requires inspecting an existing payload and modifying its username field, or constructing a new payload using extracted information and then modifying that field.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute attacker-controlled HTML on the Cobalt Strike teamserver. Specific consequences involving sensitive-data disclosure, operating-system command execution, privilege escalation, or service disruption are not established.
If you can’t patch tonight, do this now.
Restrict access to the Cobalt Strike teamserver interface to trusted users and networks. Monitor for suspicious payload modifications and review logs for anomalous activity. Employ web application firewalls or other filtering mechanisms to block malicious input where possible.
Patch, then assume compromise.
Apply a vendor-supported fix for CVE-2022-39197 or upgrade to a release confirmed by the vendor to include the fix. A vendor-verified minimum fixed version is not established by the available information.
3 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.