CVE-2018-6940
A /shell?cmd= XSS issue exists in the HTTPD component of NAT32 v2.2 Build 22284 devices that can be exploited for Remote Code Execution in conjunction with CSRF.
Does this matter?
A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 2.8%. Treat it as high on anything reachable from the internet.
Description
A /shell?cmd= XSS issue exists in the HTTPD component of NAT32 v2.2 Build 22284 devices that can be exploited for Remote Code Execution in conjunction with CSRF.
- CVSS 3.0
- 6.1 MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 2.77% probability · 86th percentile
- Public exploits
- 1 in Exploit-DB · first 14 February 2018
- CISA KEV
- Not listed
- Weakness
- CWE-79, CWE-352
- Affected
- nat32/nat32
- Source
- cve@mitre.org
EPSS 2.8% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txtExploit, Third Party Advisory
- http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/archive/1/541777/100/0/threaded
- https://www.exploit-db.com/exploits/44033/Exploit, Third Party Advisory, VDB Entry
- http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txtExploit, Third Party Advisory
- http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/archive/1/541777/100/0/threaded
- https://www.exploit-db.com/exploits/44033/Exploit, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.