{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-71231", "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "state": "PUBLISHED", "assignerShortName": "TuranSec", "dateReserved": "2026-08-05T10:53:53.175Z", "datePublished": "2026-08-05T10:56:07.066Z", "dateUpdated": "2026-08-10T11:45:27.796Z" }, "containers": { "cna": { "title": "IOTSmartHome - Unauthenticated SQL Injection via lastLogin Cookie", "descriptions": [ { "lang": "en", "value": "IOTSmartHome's gui/login.php checkCookie function builds an authentication query as SELECT * FROM users WHERE ID='' 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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "

IOTSmartHome's gui/login.php checkCookie function builds an authentication query as SELECT * FROM users WHERE ID='' 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.

" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-89 SQL Injection", "cweId": "CWE-89", "type": "CWE" } ] } ], "affected": [ { "vendor": "thebradleysanders", "product": "IOTSmartHome", "programFiles": [ "gui/login.php" ], "versions": [ { "version": "0", "status": "affected" } ], "defaultStatus": "unknown" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" } } ], "references": [ { "url": "https://github.com/thebradleysanders/IOTSmartHome", "tags": [ "third-party-advisory" ] } ], "credits": [ { "lang": "en", "value": "Mirdavlatov Mira'zam", "type": "finder" } ], "providerMetadata": { "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "shortName": "TuranSec", "dateUpdated": "2026-08-10T11:45:27.796Z" }, "source": { "discovery": "EXTERNAL" }, "datePublic": "2026-08-05T10:56:07.066Z" }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-08-05T12:52:43.515445Z", "id": "CVE-2026-71231", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-05T12:52:53.954Z" } } ] } }