Heap buffer overflow in multiple HTTP headers allows for an unauthenticated remote code execution.
ALERT! Users having routers not upgradable from 220.127.116.11.376.* or less
should CLOSE the http from WAN and should restrict the access to
management port from LAN as well!
CVSS v3: 9.6
(Administrator needs to login and visit certain page at the router website)
This vulnerability affects new Asus routers with not up-to-date firmware, as well as some older end-of-life routers (e.g. RT-N65R, RT-N65U)
Multiple buffer overflow vulnerabilities in HTTPd server in Asus asuswrt version <=18.104.22.168.376.X. All have been fixed in version 22.214.171.124.378, but this vulnerability was not previously disclosed. Some end-of-life routers have this version as the newest so are vulnerable at this time. This vulnerability allows for RCE with administrator rights when the administrator visits serveral pages.
For example the “Host:” header is vulnerable and allows to override the SystemCmd variable which then allows for RCE when the administrator visits serveral pages (for example the network tools router tab).
PoC (after running this script, when the administrator visists one of several pages which trigger commands e.g. the network tools tab, the script is being run and outputs the contents of nvram to a css file which can be retrived without authentication)
- 17.09.2017 - vendor notified
- 18.09.2017 - vendor REFUSED to fix the vulnerability as the routers using the vulnerable firmware are already EOL
tags: CVE ASUS CVE-2017-15655