PoC Monitor
← All CVEs
CVE-2022-29464published 18 Apr 2022 00:00 UTCData: JSON · API

WSO2 Multiple Products

WSO2 Multiple Products Unrestrictive Upload of File Vulnerability

Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.

First public PoC 2.9 daysafter publication · 20 Apr 2022
Public PoCs4644 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-22
CISA KEV 25 Apr 20227 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published18 Apr 2022 · t = 0First public PoC20 Apr 2022 · t+2.9dAdded to CISA KEV25 Apr 2022 · t+7d

First public PoC 2.9 days after publication; added to CISA KEV 7 days after publication. First PoC: hakivvi/CVE-2022-29464 (created 20 Apr 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

44 PoCs · 8 pending · 2 suspicious or fake

PoCs 44
RepositoryCreatedStarsAssessment
hakivvi/CVE-2022-29464 20 Apr 2022 +2.9 d 379 PoC
tufanturhan/wso2-rce-cve-2022-29464 21 Apr 2022 +3.3 d 2 PoC
mr-r3bot/WSO2-CVE-2022-29464 21 Apr 2022 +3.6 d 2 PoC
Lidong-io/cve-2022-29464 22 Apr 2022 +4.1 d 5 PoC
h3v0x/CVE-2022-29464 22 Apr 2022 +4.2 d 5 PoC
hev0x/CVE-2022-29464 22 Apr 2022 +4.2 d 5 PoC
adriyansyah-mf/mass-auto-exploit-wso2 22 Apr 2022 +4.8 d 3 PoC
gpiechnik2/nmap-CVE-2022-29464 22 Apr 2022 +4.9 d 3 PoC
0xAgun/CVE-2022-29464 22 Apr 2022 +4.9 d 1 PoC
000pp/WSOB 24 Apr 2022 +6.8 d 27 PoC
dsssssssm/WSOB 24 Apr 2022 +6.8 d 27 PoC
oppsec/WSOB 24 Apr 2022 +6.8 d 27 PoC
H3xL00m/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
N3rdyN3xus/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
NyxByt3/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
Sp3c73rSh4d0w/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
c0d3cr4f73r/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
crypticdante/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
h3x0v3rl0rd/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
k4u5h41/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
n3rdh4x0r/CVE-2022-29464 24 Apr 2022 +6.9 d 0 PoC
lowkey0808/cve-2022-29464 26 Apr 2022 +8.2 d 0 PoC
superzerosec/CVE-2022-29464 29 Apr 2022 +11 d 2 PoC
axin2019/CVE-2022-29464 5 May 2022 +17 d 1 PoC
LinJacck/CVE-2022-29464 7 May 2022 +19 d 1 PoC
SystemVll/CVE-2022-29464-loader 15 May 2022 +27 d 10 PoC
sh4den/CVE-2022-29464 15 May 2022 +27 d 10 PoC
jimidk/Better-CVE-2022-29464 4 Jun 2022 +48 d 6 PoC
Pasch0/WSO2RCE 5 Jul 2022 +78 d 1 PoC via PoC Index
KatherineHuangg/metasploit-POC 13 Jul 2022 +87 d 0 PoC via PoC Index
Blackyguy/-CVE-2022-29464 1 Aug 2022 +105 d 4 PoC
r4x0r1337/-CVE-2022-29464 1 Aug 2022 +105 d 4 PoC
amit-pathak009/CVE-2022-29464 13 Aug 2022 +118 d 0 PoC
amit-pathak009/CVE-2022-29464-mass 13 Aug 2022 +118 d 1 PoC
hupe1980/CVE-2022-29464 22 Sep 2022 +158 d 3 PoC
gbrsh/CVE-2022-29464 14 Nov 2022 +211 d 7 PoC
devengpk/CVE-2022-29464 18 Dec 2022 +244 d 1 PoC
Ap0dexMe0/CVE-2022-29464 25 Apr 2023 +1.0 y 10 PoC
Pari-Malam/CVE-2022-29464 25 Apr 2023 +1.0 y 10 PoC
ThatNotEasy/CVE-2022-29464 25 Apr 2023 +1.0 y 10 PoC
Pushkarup/CVE-2022-29464 24 Oct 2023 +1.5 y 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

SynixCyberCrimeMy/CVE-2022-29464 16 Nov 2023 +1.6 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

cc3305/CVE-2022-29464 7 Jun 2024 +2.1 y 0 PoC
c1ph3rbyt3/CVE-2022-29464 17 Jan 2025 +2.8 y 0 PoC
Pending 8
RepositoryCreatedStarsAssessment
Inplex-sys/CVE-2022-29464-loader unknown 0 Pending · repository unavailable (HTTP 404)
Jhonsonwannaa/CVE-2022-29464- unknown 0 Pending · repository unavailable (HTTP 404)
UUFR/CVE-2022-29464 unknown 0 Pending · repository unavailable (HTTP 404)
electr0lulz/Mass-exploit-CVE-2022-29464 unknown 0 Pending · repository unavailable (HTTP 404)
g0dxing/CVE-2022-29464 unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-29464 unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-29464-mass unknown 0 Pending · repository unavailable (HTTP 404)
xinghonghaoyue/CVE-2022-29464 unknown 0 Pending · repository unavailable (HTTP 404)
Suspicious or fake 2
RepositoryCreatedStarsAssessment
Chocapikk/CVE-2022-29464 26 May 2022 +39 d 5 Fake
hxlxmj/Mass-exploit-CVE-2022-29464 28 Jun 2022 +71 d 1 Fake

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

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

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

POST /fileupload/toolsAny

Key headers
Accept: */* Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Body markers
name="../../../../repository/deployment/server/webapps/authenticationendpoint/{var}" name="../../../../repository/deployment/server/webapps/authenticationendpoint/shell.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/color.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/capoeira" name="../../../../repository/deployment/server/webapps/authenticationendpoint/capoeira.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/wb.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/trkn0x.jsp" '' --4ef9f369a86bfaadf5ec3177278d49c0 name="../../../../repository/deployment/server/webapps/authenticationendpoint/evil.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/megas.jsp" name="../../../../repository/deployment/server/webapps/{var}/{var}" name="/../../../../repository/deployment/server/webapps/authenticationendpoint/shell.jsp" name="../../../../repository/deployment/server/webapps/authenticationendpoint/cmd.jsp" in multipart/form-data
Ports
8080, 9443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
38 repos: 0xAgun/CVE-2022-29464, Ap0dexMe0/CVE-2022-29464, Blackyguy/-CVE-2022-29464, H3xL00m/CVE-2022-29464, Lidong-io/cve-2022-29464, LinJacck/CVE-2022-29464, N3rdyN3xus/CVE-2022-29464, NyxByt3/CVE-2022-29464, Pari-Malam/CVE-2022-29464, Pasch0/WSO2RCE, Pushkarup/CVE-2022-29464, Sp3c73rSh4d0w/CVE-2022-29464, SynixCyberCrimeMy/CVE-2022-29464, SystemVll/CVE-2022-29464-loader, ThatNotEasy/CVE-2022-29464, adriyansyah-mf/mass-auto-exploit-wso2, amit-pathak009/CVE-2022-29464, amit-pathak009/CVE-2022-29464-mass, axin2019/CVE-2022-29464, c0d3cr4f73r/CVE-2022-29464, c1ph3rbyt3/CVE-2022-29464, crypticdante/CVE-2022-29464, devengpk/CVE-2022-29464, gbrsh/CVE-2022-29464, h3v0x/CVE-2022-29464, h3x0v3rl0rd/CVE-2022-29464, hakivvi/CVE-2022-29464, hev0x/CVE-2022-29464, hupe1980/CVE-2022-29464, jimidk/Better-CVE-2022-29464, k4u5h41/CVE-2022-29464, lowkey0808/cve-2022-29464, mr-r3bot/WSO2-CVE-2022-29464, n3rdh4x0r/CVE-2022-29464, r4x0r1337/-CVE-2022-29464, sh4den/CVE-2022-29464, superzerosec/CVE-2022-29464, tufanturhan/wso2-rce-cve-2022-29464
Evidence
0xAgun/CVE-2022-29464/exploit.py:36 Ap0dexMe0/CVE-2022-29464/wso.py:44 Blackyguy/-CVE-2022-29464/deface.py:12 Blackyguy/-CVE-2022-29464/shell.py:30 H3xL00m/CVE-2022-29464/exploit.py:32 Lidong-io/cve-2022-29464/rce.py:61

GET /authenticationendpoint/megas.jsp

Query
cmd=id
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Seen in
2 repos: h3v0x/CVE-2022-29464, hev0x/CVE-2022-29464
Evidence
h3v0x/CVE-2022-29464/exploit.py:65 hev0x/CVE-2022-29464/exploit.py:65

GET //authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp

Query
cmd=ls
Seen in
1 repo: KatherineHuangg/metasploit-POC
Evidence
KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:82

GET /authenticationendpoint/color.jsp

Seen in
1 repo: Lidong-io/cve-2022-29464
Evidence
Lidong-io/cve-2022-29464/rce.py:71

GET /authenticationendpoint/evil.jsp

Ports
9443
Seen in
1 repo: gbrsh/CVE-2022-29464
Evidence
gbrsh/CVE-2022-29464/CVE-2022-29464.py:75

GET /authenticationendpoint/exp.jsp

Query
cmd=whoami
Seen in
1 repo: axin2019/CVE-2022-29464
Evidence
axin2019/CVE-2022-29464/Wso2-CVE-2022-29464_2.py:106

GET /authenticationendpoint/shell.jsp

Query
cmd=
Seen in
1 repo: lowkey0808/cve-2022-29464
Evidence
lowkey0808/cve-2022-29464/CVE-2022-29464.py:71

POST //authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp/fileupload/toolsAny

Body markers
name="../../../../repository/deployment/server/webapps/authenticationendpoint/abc.jsp" in multipart/form-data
Seen in
1 repo: KatherineHuangg/metasploit-POC
Evidence
KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:73

POST /api/content/

Body markers
name="../../../../../../../../../srv/dotserver/tomcat-9.0.41/webapps/ROOT/html/js/dojo/abc.jsp" in multipart/form-data
Seen in
1 repo: KatherineHuangg/metasploit-POC
Evidence
KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:72

Regex

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

POST /fileupload/toolsAny
(?i)^/fileupload/toolsAny(?:[?#].*)?$
GET /authenticationendpoint/404.jsp
(?i)^/authenticationendpoint/404\.jsp(?:[?#].*)?$
GET /authenticationendpoint/megas.jsp
(?i)^/authenticationendpoint/megas\.jsp\?(?:.*&)?cmd=id
GET /authenticationendpoint/{var}
(?i)^/authenticationendpoint/[^/?#]*(?:[?#].*)?$
GET //authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp
(?i)^//authenticationendpoint/abc\.jsp//authenticationendpoint/abc\.jsp//authenticationendpoint/abc\.jsp\?(?:.*&)?cmd=ls

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /fileupload/toolsAny
alert http any any -> $HOME_NET [8080,9443] (msg:"GG PoC-Monitor CVE-2022-29464 WSO2 Multiple Products exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/fileupload/toolsAny"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,zh-TW|3b|q=0.7,zh-HK|3b|q=0.5,en-US|3b|q=0.3,en|3b|q=0.2"; nocase; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/shell.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/color.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/capoeira|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/capoeira.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/wb.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/trkn0x.jsp|22|"; http.request_body; content:"''
--4ef9f369a86bfaadf5ec3177278d49c0"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/evil.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/megas.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/"; http.request_body; content:"name=|22|/../../../../repository/deployment/server/webapps/authenticationendpoint/shell.jsp|22|"; http.request_body; content:"name=|22|../../../../repository/deployment/server/webapps/authenticationendpoint/cmd.jsp|22|"; reference:url,poc.griffinguard.io/cve/CVE-2022-29464; classtype:web-application-attack; sid:9071182; rev:1;)
GET /authenticationendpoint/404.jsp
alert http any any -> $HOME_NET [9443] (msg:"GG PoC-Monitor CVE-2022-29464 WSO2 Multiple Products exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/authenticationendpoint/404.jsp"; reference:url,poc.griffinguard.io/cve/CVE-2022-29464; classtype:web-application-attack; sid:9063920; rev:1;)
GET /authenticationendpoint/megas.jsp
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-29464 WSO2 Multiple Products exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/authenticationendpoint/megas.jsp"; http.uri; content:"cmd=id"; reference:url,poc.griffinguard.io/cve/CVE-2022-29464; classtype:web-application-attack; sid:9571291; rev:1;)
GET /authenticationendpoint/{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-29464 WSO2 Multiple Products exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/authenticationendpoint/"; reference:url,poc.griffinguard.io/cve/CVE-2022-29464; classtype:web-application-attack; sid:9272190; rev:1;)
GET //authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-29464 WSO2 Multiple Products exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp"; http.uri; content:"cmd=ls"; reference:url,poc.griffinguard.io/cve/CVE-2022-29464; classtype:web-application-attack; sid:9683875; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /fileupload/toolsAny
title: WSO2 Multiple Products exploit attempt (CVE-2022-29464)
id: gg-pocmon-cve-2022-29464-9071182
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-29464. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-29464
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/fileupload/toolsAny'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.29464
GET /authenticationendpoint/404.jsp
title: WSO2 Multiple Products exploit attempt (CVE-2022-29464)
id: gg-pocmon-cve-2022-29464-9063920
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-29464. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-29464
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/authenticationendpoint/404.jsp'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.29464
GET /authenticationendpoint/megas.jsp
title: WSO2 Multiple Products exploit attempt (CVE-2022-29464)
id: gg-pocmon-cve-2022-29464-9571291
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-29464. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-29464
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/authenticationendpoint/megas.jsp'
    cs-uri-query|contains|all:
      - 'cmd=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.29464
GET /authenticationendpoint/{var}
title: WSO2 Multiple Products exploit attempt (CVE-2022-29464)
id: gg-pocmon-cve-2022-29464-9272190
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-29464. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-29464
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/authenticationendpoint/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.29464
GET //authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp
title: WSO2 Multiple Products exploit attempt (CVE-2022-29464)
id: gg-pocmon-cve-2022-29464-9683875
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-29464. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-29464
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp'
    cs-uri-query|contains|all:
      - 'cmd=ls'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.29464