Horizon Alert
Summary of the vulnerability and why it matters
This CVE involves a critical security flaw in a smart home management system's authentication process. An attacker can bypass login controls by manipulating a web cookie, potentially accessing sensitive user data. The main concern is confirming relevance and exposure to our smart home systems.
- Unauthenticated access to smart home systems.
- Protects sensitive customer and system data.
- Verify system exposure and impact.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker can exploit this vulnerability by manipulating a specially crafted cookie before sending it to the login page. The system will then improperly use this cookie to build a database query, allowing the attacker to bypass authentication and potentially steal sensitive information.
- No authentication required to reach the component.
- Manipulated cookie in login request.
- Unauthorized access and data theft.
Live Threat
Current exploitation, exposure, and threat context
An unauthenticated attacker could bypass authentication and extract arbitrary data, including user credentials, from the user database. This is possible when the `checkCookie()` function in `gui/login.php` uses unsanitized data from a URL-safe base64-decoded `lastLogin` cookie to build an SQL query, allowing for SQL injection.
- User credentials and arbitrary database data.
- Via SQL injection in the login cookie.
- Unauthorized access and data exfiltration.
Operational Fix
Recommended remediation, mitigation, and detection steps
The `gui/login.php` component of IOTSmartHome is vulnerable to SQL injection via a crafted `lastLogin` cookie. This allows unauthenticated attackers to bypass authentication and potentially extract sensitive data. The first step is to identify all instances of this software, determine their network accessibility and business criticality, and assign ownership for remediation.
- Application owners should manage the fix.
- Verify reachability and business criticality.
- Plan remediation based on exposure.