PoC Monitor
← All CVEs
CVE-2022-39197published 22 Sep 2022 00:43 UTCData: JSON · API

Fortra Cobalt Strike

Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability

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).

First public PoC 18 h beforebefore publication · 21 Sep 2022
Public PoCs77 on GitHub
CVSS6.1medium · scored by CISA ADP · CWE-79
CISA KEV 30 Mar 2023189 days after publication

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180First public PoC21 Sep 2022 · t−18hCVE published22 Sep 2022 · t = 0Added to CISA KEV30 Mar 2023 · t+189d

First public PoC 18 h before publication; added to CISA KEV 189 days after publication. First PoC: safe3s/CVE-2022-39197 (created 21 Sep 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

7 PoCs · 1 pending · 7 informational · 2 suspicious or fake

PoCs 7
RepositoryCreatedStarsAssessment
safe3s/CVE-2022-39197 21 Sep 2022 −18 h 3 PoC via PoC Index
burpheart/cve-2022-39197 22 Sep 2022 +14 h 73 PoC
xzajyjs/CVE-2022-39197-POC 23 Sep 2022 +1.3 d 46 PoC
yqcs/CSPOC 24 Sep 2022 +2.3 d 17 PoC
hluwa/cobaltstrike_swing_xss2rce 27 Sep 2022 +5.4 d 7 PoC
Flags · score 40
  • contains archives (libs/batik-all-1.15.jar, libs/org.w3c.dom.smil-1.0.1.v200903091627.jar, libs/sac-1.3.jar)
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

adeljck/CVE-2022-39197 24 Nov 2022 +64 d 2 PoC
Romanc9/Gui-poc-test 3 Dec 2023 +1.2 y 2 PoC via PoC Index
Pending 1
RepositoryCreatedStarsAssessment
PyterSmithDarkGhost/CVE-2022-39197-POC unknown 0 Pending · repository unavailable (HTTP 404)
Informational 7
RepositoryCreatedStarsAssessment
zeoday/cobaltstrike4.5_cdf-1 22 Sep 2022 +2 h 0 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

purple-WL/Cobaltstrike-RCE-CVE-2022-39197 24 Sep 2022 +2.6 d 1 Informational · write-up
lovechoudoufu/about_cobaltstrike4.5_cdf 26 Sep 2022 +4.2 d 18 Informational · write-up
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

burpheart/CVE-2022-39197-patch 26 Sep 2022 +4.3 d 315 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

4nth0ny1130/CVE-2022-39197-fix_patch 9 Oct 2022 +17 d 7 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

luelueking/Java-CVE-Lists 15 Jan 2023 +116 d 18 Informational · list
xiao-zhu-zhu/pig_CS4.4 28 Apr 2023 +218 d 37 Informational · write-up
Flags · score 20
  • stars without code

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 2
RepositoryCreatedStarsAssessment
its-arun/CVE-2022-39197 14 Oct 2022 +22 d 386 Fake
TheCryingGame/CVE-2022-39197-RCE 22 Oct 2022 +30 d 13 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 7 PoC repos

GET /{var}{var}

Key headers
Cookie: {var}
Ports
3000
Seen in
1 repo: xzajyjs/CVE-2022-39197-POC
Evidence
xzajyjs/CVE-2022-39197-POC/cve-2022-39197-poc.py:71

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /{var}{var}
(?i)^/[^/?#]*[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /{var}{var}
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2022-39197 Fortra Cobalt Strike exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header_names; content:"Cookie"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-39197; classtype:web-application-attack; sid:9494469; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /{var}{var}
title: Fortra Cobalt Strike exploit attempt (CVE-2022-39197)
id: gg-pocmon-cve-2022-39197-9494469
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-39197. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-39197
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.39197