### [CVE-2018-18731](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18731) ![](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 An issue was discovered on Tenda AC7 V15.03.06.44_CN, AC9 V15.03.05.19(6318)_CN, AC10 V15.03.06.23_CN, AC15 V15.03.05.19_CN, and AC18 V15.03.05.19(6318)_CN devices. There is a buffer overflow vulnerability in the router's web server -- httpd. While processing the 'deviceMac' parameter for a post request, the value is directly used in a sprintf to a local variable placed on the stack, which overrides the return address of the function. ### POC #### Reference - https://github.com/ZIllR0/Routers/blob/master/Tenda/stack4.md - https://github.com/ZIllR0/Routers/blob/master/Tenda/stack4.md #### Github - https://github.com/ZIllR0/Routers