Netis WF2419 Devices
Netis WF2419 Devices Remote Code Execution Vulnerability
Edge device · Router / network deviceknown edge product: Netis WF2419 Devices Netis WF2419 Devices Remote (high confidence)
Netis WF2419 is vulnerable to authenticated Remote Code Execution (RCE) as root through the router Web management page. The vulnerability has been found in firmware version V1.2.31805 and V2.2.36123. After one is connected to this page, it is possible to execute system commands as root through the tracert diagnostic tool because of lack of user input sanitizing.
Timeline
Days relative to CVE publicationFirst public PoC 57 days before publication; added to CISA KEV 1.7 years after publication. First PoC: shadowgatt/CVE-2019-19356 (created 12 Dec 2019, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| shadowgatt/CVE-2019-19356 | 12 Dec 2019 −57 d | 4 | PoC |
| qq1515406085/CVE-2019-19356 | 13 Mar 2020 +34 d | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /cgi-bin-igd/netcore_get.cgi
- Body markers
mode_name=netcore_settools_type=2tools_ip_url=|tools_cmd=1net_tools_set=1wlan_idx_num=0inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0- Seen in
- 1 repo: shadowgatt/CVE-2019-19356
- Evidence
- shadowgatt/CVE-2019-19356/CVE-2019-19356_exploit.py:33
POST /cgi-bin-igd/netcore_set.cgi
- Body markers
mode_name=netcore_settools_type=2tools_ip_url=|tools_cmd=1net_tools_set=1wlan_idx_num=0inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0- Seen in
- 1 repo: shadowgatt/CVE-2019-19356
- Evidence
- shadowgatt/CVE-2019-19356/CVE-2019-19356_exploit.py:23
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/cgi-bin-igd/netcore_get\.cgi(?:[?#].*)?$
(?i)^/cgi-bin-igd/netcore_set\.cgi(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-19356 Netis WF2419 Devices exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cgi-bin-igd/netcore_get.cgi"; http.request_body; content:"mode_name=netcore_set"; http.request_body; content:"tools_type=2"; http.request_body; content:"tools_ip_url=|7c|"; http.request_body; content:"tools_cmd=1"; http.request_body; content:"net_tools_set=1"; http.request_body; content:"wlan_idx_num=0"; reference:url,poc.griffinguard.io/cve/CVE-2019-19356; classtype:web-application-attack; sid:9097061; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-19356 Netis WF2419 Devices exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cgi-bin-igd/netcore_set.cgi"; http.request_body; content:"mode_name=netcore_set"; http.request_body; content:"tools_type=2"; http.request_body; content:"tools_ip_url=|7c|"; http.request_body; content:"tools_cmd=1"; http.request_body; content:"net_tools_set=1"; http.request_body; content:"wlan_idx_num=0"; reference:url,poc.griffinguard.io/cve/CVE-2019-19356; classtype:web-application-attack; sid:9198497; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Netis WF2419 Devices exploit attempt (CVE-2019-19356)
id: gg-pocmon-cve-2019-19356-9097061
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-19356. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-19356
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/cgi-bin-igd/netcore_get.cgi'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.19356
title: Netis WF2419 Devices exploit attempt (CVE-2019-19356)
id: gg-pocmon-cve-2019-19356-9198497
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-19356. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-19356
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/cgi-bin-igd/netcore_set.cgi'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.19356