CVE-2024-51347
Buffer Overflow in LSC Smart Camera TZ Parameter Risks Code Execution
Publication date: 2026-03-25
Last updated on: 2026-03-25
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| lsc | smart_indoor_ip_camera | 7.6.32 |
| lsc | smart_indoor_ip_camera | to 7.6.32 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-120 | The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability allows remote code execution and full device takeover, including unauthorized access to live video and audio feeds. This poses severe privacy and security risks.
Such unauthorized access and compromise of sensitive video and audio data can lead to violations of privacy regulations and standards like GDPR and HIPAA, which require protection of personal and sensitive information.
Therefore, exploitation of this vulnerability could result in non-compliance with these regulations due to inadequate protection of personal data and failure to ensure device security.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for abnormal device behavior such as segmentation faults or unexpected reboots triggered by ONVIF requests with overly long Time Zone (TZ) parameters.
Specifically, sending an ONVIF request with a TZ string longer than 267 characters can cause a segmentation fault and device reboot, which indicates the presence of the vulnerability.
Additionally, checking for the presence of hardcoded ONVIF credentials (admin:12345678) and exposed unauthenticated RTSP streams (rtsp://{IP}:8554/main and rtsp://{IP}:8554/sub) can help identify vulnerable devices.
- Send an ONVIF request with a TZ parameter longer than 267 characters and observe if the device crashes or reboots.
- Scan the network for devices exposing RTSP streams on ports 8554 without authentication.
- Attempt to access the ONVIF service using the hardcoded credentials admin:12345678.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting network access to the vulnerable camera devices, especially blocking access to the ONVIF service and RTSP streams from untrusted networks.
Change or disable the hardcoded ONVIF credentials to prevent unauthenticated remote exploitation.
Avoid sending ONVIF requests with long TZ parameters to the device to prevent triggering the buffer overflow.
Long term mitigation involves updating or patching the device firmware to versions that replace unsafe functions like strcpy() with safer alternatives, implement strict input validation, enable security mitigations such as NX and stack canaries, and remove hardcoded credentials.
Can you explain this vulnerability to me?
This vulnerability is a buffer overflow in the dgiot binary of the LSC Smart Indoor IP Camera version 7.6.32. It occurs because the Time Zone (TZ) parameter in the ONVIF configuration interface is not properly validated for length before being copied into a fixed-size buffer using the unsafe strcpy function.
How can this vulnerability impact me? :
The buffer overflow vulnerability could allow an attacker to overwrite memory, potentially leading to unexpected behavior such as crashes, denial of service, or execution of arbitrary code on the affected device.