CVE-2026-71231 Details
Description
IOTSmartHome's gui/login.php checkCookie function builds an authentication query as SELECT * FROM users WHERE ID='<decoded lastLogin cookie>' after base64-decoding the client-supplied lastLogin cookie via safe_decode, which performs URL-safe base64 decoding with no sanitization of the decoded value before it is concatenated into the SQL string.
An authentication bypass vulnerability has been identified in IOTSmartHome's login.php file. The issue arises in the checkCookie() function, which constructs an SQL query by selecting users based on a decoded lastLogin cookie. The decoding process, handled by safe_decode(), does not sanitize the value before it is used in the SQL query, creating an opportunity for SQL injection. An unauthenticated attacker can exploit this by sending a lastLogin cookie with a base64-encoded SQL injection payload, such as base64-encoded SQL injection payload, such as base64(' OR '1'='1'). This injection can be used to bypass authentication and extract sensitive information, including user credentials, through UNION-based SQL injection.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thebradleysanders/IOTSmartHome | TuranSec | ProductSource CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| IOTSmartHome | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion