Introduction
The proliferation of IoT devices in smart homes has made device sharing—or delegation—a standard feature. Whether it is an Airbnb host granting a guest access to a smart lock or a homeowner sharing light controls with family members, the ability to delegate permissions is essential. However, the lack of industry-wide standards for these processes has led to a "wild west" of ad-hoc implementations. Researchers have recently identified critical security vulnerabilities in how popular IoT platforms handle this delegation, potentially allowing revoked users to maintain unauthorized access indefinitely.
The Problem: Authorization-Data Leakage
Most IoT clouds rely on authorization-data—such as device IDs, MQTT topics, or secret tokens—to verify and grant access. The fundamental issue discovered is that this sensitive data is often shared directly with the guest (the delegatee).
If this data is static (e.g., a hardware-bound device ID) or if a malicious guest can update it before their access is revoked, they can bypass revocation. This allows them to continue controlling devices or eavesdropping on data long after the owner believes access has been terminated.
Methodology
The research followed a two-pronged approach: systematic attack discovery and the development of an automated defense mechanism.
Vulnerability Analysis
The team analyzed six major IoT platforms, including ThingsBoard, Kaa, and JetLinks. By simulating devices and intercepting traffic via Wireshark, they tracked the lifecycle of authorization-data from creation through delegation to revocation. This allowed them to identify points where a malicious guest could retain credentials.
SecHARE: An Automated Defense
To address these flaws, the researchers developed SecHARE, a tool designed to automatically patch vulnerable IoT clouds. The core innovation is the use of Shadow Authorization-Data. Instead of providing a guest with real credentials, the cloud generates a "shadow" version—a random alias. SecHARE acts as an internal proxy, mapping these shadow IDs back to the real credentials only when authorized.
To ensure ease of deployment, SecHARE utilizes Aspect-Oriented Programming (AOP) via AspectJ. This allows security logic to be "woven" into the cloud’s existing bytecode at runtime, eliminating the need for developers to manually rewrite large portions of their codebase.
Key Results and Findings
The study identified six distinct types of data leakage, ranging from MQTT topic and password leakage to SDK token and URL leakage. These findings were significant enough to result in 5 CNVDs (Chinese National Vulnerability Database IDs).
Beyond identifying vulnerabilities, the evaluation of SecHARE demonstrated its practicality for real-world deployment:
- Minimal Overhead: Individual device control operations saw a negligible overhead of only 3ms to 14ms.
- Resource Efficiency: CPU and memory usage increased by less than 0.2%, making it suitable for high-traffic commercial environments.
- Transparency: The shadow data approach is entirely transparent to end-users; owners and guests continue to use their applications without any change in experience.
Conclusion and Future Work
The research highlights a critical architectural flaw in modern IoT delegation: the "static credential trap." By decoupling device identity from access capability through shadow data, SecHARE provides a robust and efficient countermeasure.
While currently optimized for Java-based clouds, future work aims to expand SecHARE’s support to other languages like Go and Python. Additionally, the researchers plan to explore the use of Natural Language Processing (NLP) to further automate the identification of sensitive methods within source code, reducing the need for manual configuration.
Summary updated