{"id":"CVE-2026-71231","state":"PUBLISHED","title":"IOTSmartHome - Unauthenticated SQL Injection via lastLogin Cookie","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.","publishedAt":"2026-08-05T10:56:07.066Z","updatedAt":"2026-08-10T11:45:27.796Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["thebradleysanders IOTSmartHome"],"affected":[{"vendor":"thebradleysanders","product":"IOTSmartHome","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["gui/login.php"]}],"references":["https://github.com/thebradleysanders/IOTSmartHome"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71231.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71231","state":"PUBLISHED","datePublished":"2026-08-05T10:56:07.066Z","dateUpdated":"2026-08-10T11:45:27.796Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T10:53:53.175Z"},"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='<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."}],"affected":[{"vendor":"thebradleysanders","product":"IOTSmartHome","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["gui/login.php"]}],"references":[{"url":"https://github.com/thebradleysanders/IOTSmartHome","tags":["third-party-advisory"]}],"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 SQL Injection","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:45:27.796Z"},"credits":[{"lang":"en","value":"Mirdavlatov Mira'zam","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T10:56:07.066Z"},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T12:52:53.954Z"}}]}}}