### [CVE-2013-4863](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4863) ![](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 The HomeAutomationGateway service in MiCasaVerde VeraLite with firmware 1.5.408 allows (1) remote attackers to execute arbitrary Lua code via a RunLua action in a request to upnp/control/hag on port 49451 or (2) remote authenticated users to execute arbitrary Lua code via a RunLua action in a request to port_49451/upnp/control/hag. ### POC #### Reference - http://packetstormsecurity.com/files/122654/MiCasaVerde-VeraLite-1.5.408-Traversal-Authorization-CSRF-Disclosure.html - http://packetstormsecurity.com/files/122654/MiCasaVerde-VeraLite-1.5.408-Traversal-Authorization-CSRF-Disclosure.html - http://www.exploit-db.com/exploits/27286 - http://www.exploit-db.com/exploits/27286 - https://www3.trustwave.com/spiderlabs/advisories/TWSL2013-019.txt - https://www3.trustwave.com/spiderlabs/advisories/TWSL2013-019.txt #### Github - https://github.com/jacob-baines/veralite_upnp_exploit_poc - https://github.com/xuguowong/Mirai-MAL