### [CVE-2018-6940](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6940) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txt - http://hyp3rlinx.altervista.org/advisories/NAT32-REMOTE-COMMAND-EXECUTION-CVE-2018-6940.txt - http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.html - http://packetstormsecurity.com/files/146373/NAT32-Build-22284-Remote-Command-Execution.html - https://www.exploit-db.com/exploits/44033/ - https://www.exploit-db.com/exploits/44033/ #### Github No PoCs found on GitHub currently.