PoC Monitor
← All CVEs
CVE-2019-19356published 7 Feb 2020 22:49 UTCData: JSON · API

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.

First public PoC 57 days beforebefore publication · 12 Dec 2019
Public PoCs22 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-78
CISA KEV 3 Nov 20211.7 years after publication

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540+630First public PoC12 Dec 2019 · t−57dCVE published7 Feb 2020 · t = 0Added to CISA KEV3 Nov 2021 · t+1.7y

First 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
RepositoryCreatedStarsAssessment
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 repos

POST /cgi-bin-igd/netcore_get.cgi

Body markers
mode_name=netcore_set tools_type=2 tools_ip_url=| tools_cmd=1 net_tools_set=1 wlan_idx_num=0 in application/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_set tools_type=2 tools_ip_url=| tools_cmd=1 net_tools_set=1 wlan_idx_num=0 in application/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.

POST /cgi-bin-igd/netcore_get.cgi
(?i)^/cgi-bin-igd/netcore_get\.cgi(?:[?#].*)?$
POST /cgi-bin-igd/netcore_set.cgi
(?i)^/cgi-bin-igd/netcore_set\.cgi(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /cgi-bin-igd/netcore_get.cgi
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;)
POST /cgi-bin-igd/netcore_set.cgi
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.

POST /cgi-bin-igd/netcore_get.cgi
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
POST /cgi-bin-igd/netcore_set.cgi
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