CVE-2024-51347 Overview
A buffer overflow vulnerability has been identified in the dgiot binary of LSC Smart Indoor IP Camera V7.6.32. The flaw exists in the handling of the Time Zone (TZ) parameter within the ONVIF configuration interface. The time zone (TZ) parameter does not have its length properly validated before being copied into a fixed-size buffer using the insecure strcpy function. This classic buffer overflow condition can be exploited by authenticated attackers with high privileges to potentially execute arbitrary code or cause denial of service on the affected IoT device.
Critical Impact
Authenticated attackers with administrative access can exploit this buffer overflow to achieve code execution or crash the device, potentially compromising home surveillance and privacy.
Affected Products
- LSC Smart Indoor IP Camera V7.6.32
- dgiot binary component
- ONVIF configuration interface
Discovery Timeline
- 2026-03-25 - CVE CVE-2024-51347 published to NVD
- 2026-03-25 - Last updated in NVD database
Technical Details for CVE-2024-51347
Vulnerability Analysis
This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), a classic memory corruption issue that remains prevalent in embedded systems and IoT devices. The vulnerability exists within the ONVIF protocol implementation in the dgiot binary, which handles device configuration including time zone settings.
The core issue stems from the use of the inherently unsafe strcpy function to copy user-supplied time zone data into a fixed-size buffer without proper bounds checking. When an attacker provides a TZ parameter value that exceeds the buffer's allocated size, the overflow corrupts adjacent memory regions on the stack or heap, depending on the buffer's allocation location.
The attack requires network access and high-level privileges (administrative authentication), which provides some mitigation against opportunistic attacks. However, in scenarios where default credentials are in use or administrative access has been compromised, this vulnerability presents a significant risk to device integrity.
Root Cause
The root cause of this vulnerability is the use of the insecure strcpy function without implementing proper input length validation. The dgiot binary processes the Time Zone (TZ) parameter from the ONVIF configuration interface and copies the user-supplied string directly into a fixed-size buffer. Since strcpy does not perform bounds checking, providing an excessively long TZ value causes the function to write beyond the allocated buffer space, corrupting adjacent memory structures.
This is a fundamental secure coding violation where user-controlled input is trusted without sanitization. The proper mitigation would involve using secure string functions like strncpy or implementing explicit length checks before the copy operation.
Attack Vector
The attack vector is network-based and requires authenticated access with high privileges to the device's ONVIF interface. An attacker would need to:
- Gain administrative access to the LSC Smart Indoor IP Camera (through valid credentials or credential compromise)
- Access the ONVIF configuration interface via the network
- Submit a maliciously crafted Time Zone (TZ) parameter containing data exceeding the expected buffer size
- The oversized input triggers the buffer overflow in the dgiot binary
Successful exploitation could allow the attacker to overwrite critical memory structures such as return addresses or function pointers, potentially leading to arbitrary code execution with the privileges of the dgiot process. Given the embedded nature of the device, this could result in complete device compromise.
The vulnerability is exploited through the ONVIF protocol's time zone configuration functionality. Attackers craft a request with an excessively long TZ parameter value that, when processed by the strcpy function in the dgiot binary, overflows the destination buffer and corrupts adjacent memory. For technical details, refer to the GitHub Security Research Repository.
Detection Methods for CVE-2024-51347
Indicators of Compromise
- Unexpected crashes or restarts of the dgiot process on LSC Smart Indoor IP Camera devices
- Anomalous ONVIF configuration requests containing unusually long Time Zone parameter values
- Unusual network traffic patterns to the camera's ONVIF service port
- Evidence of administrative access from unexpected IP addresses
Detection Strategies
- Monitor ONVIF protocol traffic for configuration requests with abnormally long parameter values, particularly in the Time Zone field
- Implement intrusion detection rules to flag ONVIF requests exceeding normal parameter length thresholds
- Review authentication logs for unauthorized administrative access attempts to camera devices
- Deploy network segmentation to isolate IoT devices and monitor cross-segment traffic anomalies
Monitoring Recommendations
- Enable logging on network firewalls and segment IoT devices from critical network infrastructure
- Implement continuous monitoring of IoT device behavior for signs of compromise or unexpected service restarts
- Consider deploying network-based anomaly detection specifically tuned for ONVIF protocol traffic
- Maintain an inventory of all LSC Smart Indoor IP Camera devices and their firmware versions for rapid vulnerability assessment
How to Mitigate CVE-2024-51347
Immediate Actions Required
- Verify the firmware version of all LSC Smart Indoor IP Camera devices in your environment and identify those running V7.6.32
- Restrict network access to the ONVIF interface to trusted administrative hosts only
- Change default credentials on all camera devices if not already done
- Implement network segmentation to isolate IoT cameras from critical systems
- Monitor for vendor firmware updates that address this vulnerability
Patch Information
As of the last NVD update on 2026-03-25, no vendor-supplied patch has been confirmed. Users should monitor the vendor's official channels and the GitHub CVE-2024-51347 Details for updates on remediation guidance. Contact the vendor directly for information on firmware updates that may address this buffer overflow vulnerability.
Workarounds
- Implement firewall rules to restrict access to the camera's ONVIF interface to only trusted IP addresses
- Disable ONVIF services if not required for your deployment
- Place cameras on isolated network segments with strict ingress/egress filtering
- Use a VPN for remote administrative access rather than exposing management interfaces directly to the network
# Example firewall rule to restrict ONVIF access (adjust port as needed)
# Allow ONVIF access only from trusted management subnet
iptables -A INPUT -p tcp --dport 8080 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


