Shenzhen Libituo Technology LBT-T300-HW1 Buffer Overflow Vulnerability
A buffer overflow vulnerability exists in Shenzhen Libituo Technology LBT-T300-HW1 version 1.2.8 and earlier, allowing remote attackers to execute arbitrary code by manipulating the Channel/ApCliSsid argument in the start_lan function of the /apply.cgi file.
A buffer overflow vulnerability, identified as CVE-2026-7675, affects Shenzhen Libituo Technology LBT-T300-HW1 devices with firmware versions up to 1.2.8. The vulnerability resides in the start_lan function within the /apply.cgi file. By manipulating the Channel/ApCliSsid argument, a remote attacker can trigger a buffer overflow, potentially leading to arbitrary code execution. Publicly available exploit code exists for this vulnerability. The vendor was notified about the vulnerability, but there has been no response. This vulnerability is considered critical due to the potential for remote exploitation and the availability of exploit code.
Attack Chain
- The attacker identifies a vulnerable Shenzhen Libituo Technology LBT-T300-HW1 device running firmware version 1.2.8 or earlier.
- The attacker crafts a malicious HTTP request targeting the
/apply.cgiendpoint. - The HTTP request includes a specially crafted
Channel/ApCliSsidargument designed to overflow the buffer in thestart_lanfunction. - The vulnerable
start_lanfunction receives the malicious input and attempts to process it without proper bounds checking. - The buffer overflow occurs, overwriting adjacent memory regions, including potentially the return address on the stack.
- The attacker gains control of the program execution flow by overwriting the return address with the address of malicious code.
- The injected code executes with the privileges of the web server process.
- The attacker achieves arbitrary code execution, potentially gaining full control of the device.
Impact
Successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code on the affected device. Given that this is a router, this could lead to complete compromise of the device, including the ability to intercept and manipulate network traffic, install malware, or use the device as part of a botnet. Due to the public availability of the exploit, widespread exploitation is possible.
Recommendation
- Apply network intrusion detection system (NIDS) rules to detect and block malicious HTTP requests targeting
/apply.cgiwith excessively longChannel/ApCliSsidvalues. - Deploy the Sigma rule
Detect-LBT-T300-HW1-applycgi-buffer-overflowto your SIEM and tune for your environment to identify exploitation attempts. - Monitor web server logs for suspicious POST requests to
/apply.cgiand analyze the length of theChannel/ApCliSsidparameter.
Detection coverage 2
Detect LBT-T300-HW1 /apply.cgi Buffer Overflow Attempt
criticalDetects attempts to exploit the buffer overflow vulnerability in Shenzhen Libituo Technology LBT-T300-HW1 devices by monitoring the length of the Channel/ApCliSsid parameter in POST requests to /apply.cgi.
Detect LBT-T300-HW1 /apply.cgi Access
lowDetects access to the /apply.cgi page, which is associated with the buffer overflow vulnerability in Shenzhen Libituo Technology LBT-T300-HW1 devices. This rule detects both GET and POST requests.
Detection queries are kept inside the platform. Get full rules →