Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability impacts enterprise IoT platforms, specifically the TDengine TDS APIs used for data insertion. It allows unauthenticated attackers to manipulate time-series data, potentially inserting or overwriting critical readings. The primary concern is confirming if your TDengine data insertion flows are exposed and affected.
- Unauthenticated attackers can alter IoT data.
- This impacts data integrity and system reliability.
- Confirm relevance and exposure of data insertion.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by sending specially crafted JSON data to the `/anyUser/tds/insertTableData` API. This data, which is not properly validated, is then used to construct SQL queries. This allows the attacker to manipulate TDengine time-series data, leading to unauthorized data insertion or modification.
- Unauthenticated network access required.
- Triggered by crafted JSON to API.
- Can insert or overwrite data.
Live Threat
Current exploitation, exposure, and threat context
Unauthenticated attackers could tamper with time-series data in the ThingLinks enterprise IoT platform by injecting malicious SQL commands into specific API requests. This could lead to the insertion of unintended data or the overwriting of existing readings within the TDengine database.
- Unintended or overwritten time-series data.
- Unauthenticated API requests can modify data.
- Compromised data integrity for IoT readings.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability impacts the TDengine TDS APIs within the ThingLinks enterprise IoT platform, specifically how it handles data insertion requests. Application owners and infrastructure teams are likely responsible for managing this platform. The immediate first step is to identify all instances of the affected technology, determine their exposure and criticality, confirm ownership, and then plan remediation based on risk.
- Identify accountable application owners.
- Verify TDS API exposure and criticality.
- Plan TDengine mapper remediation.