PoC Monitor
← All CVEs
CVE-2020-5902published 1 Jul 2020 00:00 UTCData: JSON · API

F5 BIG-IP

F5 BIG-IP Traffic Management User Interface (TMUI) Remote Code Execution Vulnerability

Edge device · Load balancer / ADCknown edge product: F5 BIG-IP F5 BIG-IP Traffic Management User (high confidence)

In BIG-IP versions 15.0.0-15.1.0.3, 14.1.0-14.1.2.5, 13.1.0-13.1.3.3, 12.1.0-12.1.5.1, and 11.6.1-11.6.5.1, the Traffic Management User Interface (TMUI), also referred to as the Configuration utility, has a Remote Code Execution (RCE) vulnerability in undisclosed pages.

First public PoC 4 daysafter publication · 5 Jul 2020 · Exploit-DB
Public PoCs5853 on GitHub · 5 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.8critical · scored by CISA ADP · CWE-22
CISA KEV 3 Nov 20211.3 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360+420+480CVE published1 Jul 2020 · t = 0First public PoC5 Jul 2020 · t+4dAdded to CISA KEV3 Nov 2021 · t+1.3y

First public PoC 4 days after publication; added to CISA KEV 1.3 years after publication. First PoC: BIG-IP 15.0.0 < 15.1.0.3 / 14.1.0 < 14.1.2.5 / 13.1.0 < 13.1.3.3 / 12.1.0 < 12.1.5.1 / 11.6.1 < 11.6.5.1 - Traffic Management User Interface 'TMUI' Remote Code Execution (PoC) (Exploit-DB, 5 Jul 2020).

PoC repositories

Found on GitHub.

53 PoCs · 7 pending · 5 informational · 1 not a PoC · 1 suspicious or fake

PoCs 53
RepositoryCreatedFound by usStarsAssessment
aqhmal/CVE-2020-5902-Scanner 5 Jul 2020 +4.3 d backfilled 55 Scanner
jas502n/CVE-2020-5902 5 Jul 2020 +4.7 d backfilled 375 PoC
ar0dd/CVE-2020-5902 5 Jul 2020 +4.7 d backfilled 12 PoC
rwincey/CVE-2020-5902-NSE 5 Jul 2020 +4.7 d backfilled 8 PoC
nsflabs/CVE-2020-5902 5 Jul 2020 +4.8 d backfilled 8 PoC
yasserjanah/CVE-2020-5902 6 Jul 2020 +5.1 d backfilled 43 PoC
JSec1337/RCE-CVE-2020-5902 6 Jul 2020 +5.1 d backfilled 1 PoC
dunderhay/CVE-2020-5902 6 Jul 2020 +5.2 d backfilled 36 PoC
r0ttenbeef/cve-2020-5902 6 Jul 2020 +5.2 d backfilled 2 PoC
sv3nbeast/CVE-2020-5902_RCE 6 Jul 2020 +5.3 d backfilled 8 PoC
cybersecurityworks553/scanner-CVE-2020-5902 6 Jul 2020 +5.3 d backfilled 2 Scanner
lijiaxing1997/CVE-2020-5902-POC-EXP 6 Jul 2020 +5.4 d backfilled 10 PoC
qlkwej/poc-CVE-2020-5902 6 Jul 2020 +5.4 d backfilled 1 PoC
Zinkuth/F5-BIG-IP-CVE-2020-5902 6 Jul 2020 +5.6 d backfilled 1 PoC via PoC Index
0xAbdullah/CVE-2020-5902 6 Jul 2020 +5.6 d backfilled 1 PoC
jinnywc/CVE-2020-5902 6 Jul 2020 +5.7 d backfilled 1 PoC
jiansiting/CVE-2020-5902 7 Jul 2020 +6.1 d backfilled 4 PoC
Any3ite/CVE-2020-5902-F5BIG 7 Jul 2020 +6.2 d backfilled 0 PoC
k3nundrum/CVE-2020-5902 7 Jul 2020 +6.5 d backfilled 0 PoC
inho28/CVE-2020-5902-F5-BIGIP 7 Jul 2020 +6.5 d backfilled 0 PoC
cristiano-corrado/f5_scanner 7 Jul 2020 +6.6 d backfilled 0 Scanner
ajdumanhug/CVE-2020-5902 7 Jul 2020 +6.8 d backfilled 0 PoC
zhzyker/CVE-2020-5902 8 Jul 2020 +7.2 d backfilled 13 PoC
GovindPalakkal/EvilRip 8 Jul 2020 +7.4 d backfilled 6 PoC
dnerzker/CVE-2020-5902 8 Jul 2020 +7.7 d backfilled 0 PoC
renanhsilva/checkvulnCVE20205902 8 Jul 2020 +7.9 d backfilled 1 PoC via PoC Index
halencarjunior/f5scan 8 Jul 2020 +7.9 d backfilled 1 PoC
deepsecurity-pe/GoF5-CVE-2020-5902 9 Jul 2020 +8.3 d backfilled 2 PoC
Shu1L/CVE-2020-5902-fofa-scan 9 Jul 2020 +8.3 d backfilled 1 Scanner
d4rk007/F5-Big-IP-CVE-2020-5902-mass-exploiter 9 Jul 2020 +8.4 d backfilled 4 PoC
TheCyberViking/CVE-2020-5902-Vuln-Checker 9 Jul 2020 +8.6 d backfilled 0 Scanner
MrCl0wnLab/checker-CVE-2020-5902 10 Jul 2020 +9.3 d backfilled 5 Scanner
qiong-qi/CVE-2020-5902-POC 10 Jul 2020 +9.3 d backfilled 2 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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

theLSA/f5-bigip-rce-cve-2020-5902 10 Jul 2020 +9.6 d backfilled 62 PoC
flyopenair/CVE-2020-5902 11 Jul 2020 +11 d backfilled 0 PoC
Al1ex/CVE-2020-5902 11 Jul 2020 +11 d backfilled 10 PoC
freeFV/CVE-2020-5902-fofa-scan 12 Jul 2020 +11 d backfilled 0 Scanner
momika233/cve-2020-5902 12 Jul 2020 +12 d backfilled 0 PoC
f5devcentral/cve-2020-5902-ioc-bigip-checker 20 Jul 2020 +20 d backfilled 16 Scanner
Flags · score 35
  • README asks to download a release/binary/archive

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

PushpenderIndia/CVE-2020-5902-Scanner 9 Aug 2020 +39 d backfilled 12 Scanner
superzerosec/cve-2020-5902 18 Aug 2020 +49 d backfilled 0 PoC
ludy-dev/BIG-IP-F5-TMUI-RCE-Vulnerability 9 Sep 2020 +71 d backfilled 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

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

faisalfs10x/F5-BIG-IP-CVE-2020-5902-shodan-scanner 4 Feb 2021 +219 d backfilled 2 Scanner
haisenberg/CVE-2020-5902 13 Apr 2021 +286 d backfilled 1 PoC
sujaygr8/Big-IP-exploit 10 Jun 2021 +344 d backfilled 0 PoC via PoC Index
west9b/F5-BIG-IP-POC 28 May 2022 +1.9 y backfilled 10 PoC via PoC Index
z3n70/CVE-2020-5902 7 Jul 2022 +2.0 y backfilled 2 PoC
amitlttwo/CVE-2020-5902 7 Feb 2023 +2.6 y backfilled 1 PoC
CharonDefalt/F5-BIG-IP-TMUI-RCE- 24 Jan 2024 +3.6 y backfilled 0 PoC
0xBlackash/CVE-2020-5902 16 Mar 2026 +5.7 y backfilled 0 PoC
0xredash/CVE-2020-5902 16 Mar 2026 +5.7 y backfilled 0 PoC
ashrafzaryouh/CVE-2020-5902 16 Mar 2026 +5.7 y backfilled 0 PoC
yora1928/cve-2020-5902 31 Oct 2026 +6.3 y 14 Nov 2026 1 PoC
Pending 7
RepositoryCreatedStarsAssessment
34zY/APT-Backpack 13 Dec 2022 +2.5 y 3 Pending · repository exceeds size limit
5l1v3r1/CVE-2020-5902-Mass unknown 0 Pending · repository unavailable (HTTP 404)
Un4gi/CVE-2020-5902 unknown 0 Pending · repository unavailable (HTTP 404)
itsjeffersonli/CVE-2020-5902 unknown 0 Pending · repository unavailable (HTTP 404)
pwnhacker0x18/CVE-2020-5902-Mass unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2020-5902-Scanner unknown 0 Pending · repository unavailable (HTTP 404)
wdlid/CVE-2020-5902-fix unknown 0 Pending · repository unavailable (HTTP 404)
Informational 5
RepositoryCreatedStarsAssessment
dwisiswant0/CVE-2020-5902 4 Jul 2020 +3.6 d 9 Informational · write-up
yassineaboukir/CVE-2020-5902 5 Jul 2020 +4.7 d 70 Informational · write-up
rockmelodies/CVE-2020-5902-rce-gui 17 Jul 2020 +16 d 8 Informational · write-up
corelight/CVE-2020-5902-F5BigIP 28 Jul 2020 +27 d 4 Informational · write-up
murataydemir/CVE-2020-5902 13 Aug 2020 +43 d 2 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
ltvthang/CVE-2020-5903 25 Aug 2020 +55 d 0 Not a PoC · unrelated
Suspicious or fake 1
RepositoryCreatedStarsAssessment
DevRafaelprogrammer/F5-BIG-IP 1 Jul 2026 +6.0 y 0 Suspicious · score 50
Why suspicious
  • pipes a download into a shell / encoded PowerShell in CVE-2020-5902.py

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. 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 53 PoC repos

GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp

Query
fileName=/etc/passwd fileName=/tmp/1.txt fileName= fileName=/proc/self/cmdline fileName=$file fileName={var} fileName=/etc/profile fileName=/etc/hosts fileName=/etc/passwd/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd
Key headers
Accept: */* Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7 Accept-Language: zh-CN,zh;q=0.9,ar;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 Cache-Control: max-age=0 Cookie: JSESSIONID=89E562018185E75966F67E7FC50CF6E1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1 X - forwarded - for: 127.0.0.1
Ports
443, 7890, 8080, 8443
PoC User-Agent
Googlebot Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Firefox/52.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
25 repos: 0xBlackash/CVE-2020-5902, 0xredash/CVE-2020-5902, Al1ex/CVE-2020-5902, CharonDefalt/F5-BIG-IP-TMUI-RCE-, Zinkuth/F5-BIG-IP-CVE-2020-5902, ajdumanhug/CVE-2020-5902, ashrafzaryouh/CVE-2020-5902, cybersecurityworks553/scanner-CVE-2020-5902, d4rk007/F5-Big-IP-CVE-2020-5902-mass-exploiter, deepsecurity-pe/GoF5-CVE-2020-5902, dunderhay/CVE-2020-5902, faisalfs10x/F5-BIG-IP-CVE-2020-5902-shodan-scanner, flyopenair/CVE-2020-5902, halencarjunior/f5scan, inho28/CVE-2020-5902-F5-BIGIP, jas502n/CVE-2020-5902, jinnywc/CVE-2020-5902, lijiaxing1997/CVE-2020-5902-POC-EXP, qiong-qi/CVE-2020-5902-POC, qlkwej/poc-CVE-2020-5902, r0ttenbeef/cve-2020-5902, sujaygr8/Big-IP-exploit, sv3nbeast/CVE-2020-5902_RCE, theLSA/f5-bigip-rce-cve-2020-5902, zhzyker/CVE-2020-5902
Evidence
0xBlackash/CVE-2020-5902/CVE-2020-5902.yaml:28 0xredash/CVE-2020-5902/CVE-2020-5902.yaml:28 Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:41 Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:109 Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:309 CharonDefalt/F5-BIG-IP-TMUI-RCE-/Exploit-Automation.py:30

GET /tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp

Query
command=list auth user admin command=delete cli alias private list command=create cli alias private list command bash command=list /tmp/test command= command={var} command=list auth user command=list /tmp/xxxx command=list /tmp/checksafe
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Language: zh-CN,zh;q=0.9,ar;q=0.8 Cache-Control: max-age=0 Cookie: JSESSIONID=07E7975B5F6F4B43F3375AA5FFB32628 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1 X - forwarded - for: 127.0.0.1
Ports
443, 7890, 8080, 8443
PoC User-Agent
Googlebot Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Firefox/52.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Seen in
13 repos: Al1ex/CVE-2020-5902, CharonDefalt/F5-BIG-IP-TMUI-RCE-, ajdumanhug/CVE-2020-5902, ar0dd/CVE-2020-5902, cristiano-corrado/f5_scanner, dunderhay/CVE-2020-5902, flyopenair/CVE-2020-5902, halencarjunior/f5scan, jas502n/CVE-2020-5902, jinnywc/CVE-2020-5902, k3nundrum/CVE-2020-5902, lijiaxing1997/CVE-2020-5902-POC-EXP, sv3nbeast/CVE-2020-5902_RCE
Evidence
Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:38 Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:177 CharonDefalt/F5-BIG-IP-TMUI-RCE-/Exploit-Automation.py:63 ajdumanhug/CVE-2020-5902/CVE-2020-5902.py:34 ajdumanhug/CVE-2020-5902/CVE-2020-5902.py:40 ajdumanhug/CVE-2020-5902/CVE-2020-5902.py:52

POST /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Upgrade-Insecure-Requests: 1
Body markers
fileName=/tmp/Lx6QYehfpoNAPpHTPraQp content=echo "RCE" fileName=/tmp/1.txt content=CVE-2020-5902 in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Seen in
3 repos: 0xAbdullah/CVE-2020-5902, Al1ex/CVE-2020-5902, jas502n/CVE-2020-5902
Evidence
0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:54 0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:78 Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:270 jas502n/CVE-2020-5902/README.md:316

GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp

Query
fileName=/tmp/test content= fileName=/tmp/xxxx fileName=/tmp/checksafe
Ports
443
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Seen in
3 repos: ajdumanhug/CVE-2020-5902, lijiaxing1997/CVE-2020-5902-POC-EXP, sv3nbeast/CVE-2020-5902_RCE
Evidence
ajdumanhug/CVE-2020-5902/CVE-2020-5902.py:46 lijiaxing1997/CVE-2020-5902-POC-EXP/f5_rce.py:38 sv3nbeast/CVE-2020-5902_RCE/CVE-2020-5902_RCE.py:33

GET /tmui/login.jsp/..;/tmui/util/getTabSet.jsp

Query
tabId=Vulnerable tabId= tabId=test5902
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
Ports
7890, 8443
PoC User-Agent
Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
3 repos: CharonDefalt/F5-BIG-IP-TMUI-RCE-, jiansiting/CVE-2020-5902, theLSA/f5-bigip-rce-cve-2020-5902
Evidence
CharonDefalt/F5-BIG-IP-TMUI-RCE-/Full-Manual-Dorks.txt:51 CharonDefalt/F5-BIG-IP-TMUI-RCE-/README.md:121 jiansiting/CVE-2020-5902/F5BIG-Scanner.py:21 theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:287

GET /tmui/login.jsp/..;/tmui/locallb/workspace/directoryList.jsp

Query
directoryPath=/usr/local/www/
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Cookie: JSESSIONID=65ACC6C79B31335D71E4F432DB39EA50 Upgrade-Insecure-Requests: 1
Ports
8080
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Firefox/52.0
Seen in
2 repos: Al1ex/CVE-2020-5902, jas502n/CVE-2020-5902
Evidence
Al1ex/CVE-2020-5902/CVE-2020-5902-EXP1/README.md:56 jas502n/CVE-2020-5902/README.md:102

GET /result

PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Seen in
2 repos: Shu1L/CVE-2020-5902-fofa-scan, freeFV/CVE-2020-5902-fofa-scan
Evidence
Shu1L/CVE-2020-5902-fofa-scan/fofa.py:39 freeFV/CVE-2020-5902-fofa-scan/fofa.py:39

GET /

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-us Cache-Control: max-age=0 Cookie: JSESSIONID=5D5146E55787898CDCBD07D68431E991 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Seen in
1 repo: Any3ite/CVE-2020-5902-F5BIG
Evidence
Any3ite/CVE-2020-5902-F5BIG/CVE-2020-5902-F5BIG-Scanner.go:34

GET //https://{var}/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp

Query
fileName=
Key headers
Accept: */*
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ' '(KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Seen in
1 repo: yora1928/cve-2020-5902
Evidence
yora1928/cve-2020-5902/cve-2020-5902-exploit.py:91

GET /hsqldb%0a

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
PoC User-Agent
Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
1 repo: theLSA/f5-bigip-rce-cve-2020-5902
Evidence
theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:229

GET /hsqldb;

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
PoC User-Agent
Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
1 repo: theLSA/f5-bigip-rce-cve-2020-5902
Evidence
theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:218

GET /tmui/login.jsp/..;/tmui/system/user/authproperties.jsp

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
PoC User-Agent
Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
1 repo: theLSA/f5-bigip-rce-cve-2020-5902
Evidence
theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:295

HEAD /tmui/login.jsp

Ports
7890, 8443
Seen in
1 repo: CharonDefalt/F5-BIG-IP-TMUI-RCE-
Evidence
CharonDefalt/F5-BIG-IP-TMUI-RCE-/Exploit-Automation.py:22

PATCH /tmui/login.jsp

Key headers
Transfer-Encoding: chunked, chunked
Body markers
"password" in application/json
Ports
7890, 8443
Seen in
1 repo: CharonDefalt/F5-BIG-IP-TMUI-RCE-
Evidence
CharonDefalt/F5-BIG-IP-TMUI-RCE-/CVE-2023-46747-RCE.py:133

POST /tmui/login.jsp

Key headers
Transfer-Encoding: chunked, chunked
Body markers
204 {var} 0= "password" "command":"run" "utilCmdArgs" in application/x-www-form-urlencoded
Ports
7890, 8443
Seen in
1 repo: CharonDefalt/F5-BIG-IP-TMUI-RCE-
Evidence
CharonDefalt/F5-BIG-IP-TMUI-RCE-/CVE-2023-46747-RCE.py:114 CharonDefalt/F5-BIG-IP-TMUI-RCE-/CVE-2023-46747-RCE.py:152 CharonDefalt/F5-BIG-IP-TMUI-RCE-/CVE-2023-46747-RCE.py:171

POST /tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp

Query
fileName=
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
Body markers
fileName= content= command=create cli alias private list command bash command=list /tmp/xtx.txt command=delete cli alias private list in application/x-www-form-urlencoded
PoC User-Agent
Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Seen in
1 repo: theLSA/f5-bigip-rce-cve-2020-5902
Evidence
theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:58 theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:121 theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:134 theLSA/f5-bigip-rce-cve-2020-5902/f5-bigip-rce-cve-2020-5902.py:142

POST /tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp

Body markers
command=create cli alias private list command bash command=list /tmp/Lx6QYehfpoNAPpHTPraQp in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Seen in
1 repo: 0xAbdullah/CVE-2020-5902
Evidence
0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:49 0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:59 0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:74 0xAbdullah/CVE-2020-5902/CVE-2020-5902.py:82

Regex

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

GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp
(?i)^/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/fileRead\.jsp\?(?:.*&)?fileName=/etc/passwd.*fileName=/tmp/1\.txt.*fileName=.*fileName=/proc/self/cmdline.*fileName=\$file.*fileName=\{var\}.*fileName=/etc/profile.*fileName=/etc/hosts.*fileName=/etc/passwd/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/fileRead\.jsp\?fileName=/etc/passwd/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/fileRead\.jsp\?fileName=/etc/passwd
GET /tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp
(?i)^/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/tmshCmd\.jsp\?(?:.*&)?command=list auth user admin.*command=delete cli alias private list.*command=create cli alias private list command bash.*command=list /tmp/test.*command=.*command=\{var\}.*command=list auth user.*command=list /tmp/xxxx.*command=list /tmp/checksafe
GET /tmui/login.jsp
(?i)^/tmui/login\.jsp(?:[?#].*)?$
POST /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
(?i)^/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/fileSave\.jsp(?:[?#].*)?$
GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
(?i)^/tmui/login\.jsp/\.\.;/tmui/locallb/workspace/fileSave\.jsp\?(?:.*&)?fileName=/tmp/test.*content=.*fileName=/tmp/xxxx.*fileName=/tmp/checksafe

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp
alert http any any -> $HOME_NET [443,7890,8080,8443] (msg:"GG PoC-Monitor CVE-2020-5902 F5 BIG-IP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tmui/login.jsp/..|3b|/tmui/locallb/workspace/fileRead.jsp"; http.uri; content:"fileName=/etc/passwd"; http.uri; content:"fileName=/tmp/1.txt"; http.uri; content:"fileName="; http.uri; content:"fileName=/proc/self/cmdline"; http.uri; content:"fileName=$file"; http.uri; content:"fileName={var}"; http.uri; content:"fileName=/etc/profile"; http.uri; content:"fileName=/etc/hosts"; http.uri; content:"fileName=/etc/passwd/tmui/login.jsp/..|3b|/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd/tmui/login.jsp/..|3b|/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9,zh-CN|3b|q=0.8,zh|3b|q=0.7"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,ar|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,en|3b|q=0.8"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: JSESSIONID=89E562018185E75966F67E7FC50CF6E1"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: none"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X - forwarded - for: 127.0.0.1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2020-5902; classtype:web-application-attack; sid:9539602; rev:1;)
GET /tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp
alert http any any -> $HOME_NET [443,7890,8080,8443] (msg:"GG PoC-Monitor CVE-2020-5902 F5 BIG-IP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tmui/login.jsp/..|3b|/tmui/locallb/workspace/tmshCmd.jsp"; http.uri; content:"command=list auth user admin"; http.uri; content:"command=delete cli alias private list"; http.uri; content:"command=create cli alias private list command bash"; http.uri; content:"command=list /tmp/test"; http.uri; content:"command="; http.uri; content:"command={var}"; http.uri; content:"command=list auth user"; http.uri; content:"command=list /tmp/xxxx"; http.uri; content:"command=list /tmp/checksafe"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9,ar|3b|q=0.8"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: JSESSIONID=07E7975B5F6F4B43F3375AA5FFB32628"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: none"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X - forwarded - for: 127.0.0.1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2020-5902; classtype:web-application-attack; sid:9740382; rev:1;)
GET /tmui/login.jsp
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2020-5902 F5 BIG-IP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tmui/login.jsp"; reference:url,poc.griffinguard.io/cve/CVE-2020-5902; classtype:web-application-attack; sid:9528784; rev:1;)
POST /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-5902 F5 BIG-IP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/tmui/login.jsp/..|3b|/tmui/locallb/workspace/fileSave.jsp"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"fileName=/tmp/Lx6QYehfpoNAPpHTPraQp"; http.request_body; content:"content=echo |22|RCE|22|"; http.request_body; content:"fileName=/tmp/1.txt"; http.request_body; content:"content=CVE-2020-5902"; reference:url,poc.griffinguard.io/cve/CVE-2020-5902; classtype:web-application-attack; sid:9679163; rev:1;)
GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2020-5902 F5 BIG-IP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tmui/login.jsp/..|3b|/tmui/locallb/workspace/fileSave.jsp"; http.uri; content:"fileName=/tmp/test"; http.uri; content:"content="; http.uri; content:"fileName=/tmp/xxxx"; http.uri; content:"fileName=/tmp/checksafe"; reference:url,poc.griffinguard.io/cve/CVE-2020-5902; classtype:web-application-attack; sid:9465059; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp
title: F5 BIG-IP exploit attempt (CVE-2020-5902)
id: gg-pocmon-cve-2020-5902-9539602
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-5902. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-5902
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp'
    cs-uri-query|contains|all:
      - 'fileName=/etc/passwd'
      - 'fileName=/tmp/1.txt'
      - 'fileName='
      - 'fileName=/proc/self/cmdline'
      - 'fileName=$file'
      - 'fileName={var}'
      - 'fileName=/etc/profile'
      - 'fileName=/etc/hosts'
      - 'fileName=/etc/passwd/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.5902
GET /tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp
title: F5 BIG-IP exploit attempt (CVE-2020-5902)
id: gg-pocmon-cve-2020-5902-9740382
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-5902. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-5902
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp'
    cs-uri-query|contains|all:
      - 'command=list auth user admin'
      - 'command=delete cli alias private list'
      - 'command=create cli alias private list command bash'
      - 'command=list /tmp/test'
      - 'command='
      - 'command={var}'
      - 'command=list auth user'
      - 'command=list /tmp/xxxx'
      - 'command=list /tmp/checksafe'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.5902
GET /tmui/login.jsp
title: F5 BIG-IP exploit attempt (CVE-2020-5902)
id: gg-pocmon-cve-2020-5902-9528784
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-5902. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-5902
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tmui/login.jsp'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.5902
POST /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
title: F5 BIG-IP exploit attempt (CVE-2020-5902)
id: gg-pocmon-cve-2020-5902-9679163
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-5902. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-5902
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.5902
GET /tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp
title: F5 BIG-IP exploit attempt (CVE-2020-5902)
id: gg-pocmon-cve-2020-5902-9465059
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-5902. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-5902
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp'
    cs-uri-query|contains|all:
      - 'fileName=/tmp/test'
      - 'content='
      - 'fileName=/tmp/xxxx'
      - 'fileName=/tmp/checksafe'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.5902