{"id":"CVE-2018-6940","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-6940","generatedAt":"2026-10-28T19:03:26.644Z","title":"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.","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.","published":"2018-02-20T15:29:00.000Z","lastModified":"2026-06-17T02:02:29.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79","CWE-352"],"affected":["nat32/nat32"],"epss":{"score":0.02775,"percentile":0.8628,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2018-02-14","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44033,"kind":"exploit","title":"NAT32 2.2 Build 22284 - Remote Command Execution","url":"https://www.exploit-db.com/exploits/44033","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/webapps/44033.txt","file":"exploits/windows/webapps/44033.txt","published":"2018-02-14","added":"2018-02-14","updated":"2018-02-14","author":"hyp3rlinx","type":"webapps","platform":"windows","port":null,"verified":false,"codes":["CVE-2018-6940"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txt","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/541777/100/0/threaded","source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/44033/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txt","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/541777/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44033/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6940","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}