{"id":"CVE-2026-71237","state":"PUBLISHED","title":"Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin","description":"Miantang/IoT-PHP's index.php implements a POST /userlogin route that reads the password directly from ['pwd'] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username='' and password='' limit 1\"). An unauthenticated attacker can submit a payload such as pwd=' OR '1'='1 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database.","publishedAt":"2026-08-05T10:56:31.037Z","updatedAt":"2026-08-10T11:45:40.322Z","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":["Miantang IoT-PHP"],"affected":[{"vendor":"Miantang","product":"IoT-PHP","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["index.php"]}],"references":["https://github.com/Miantang/IoT-PHP"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71237.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71237","state":"PUBLISHED","datePublished":"2026-08-05T10:56:31.037Z","dateUpdated":"2026-08-10T11:45:40.322Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T10:53:53.175Z"},"containers":{"cna":{"title":"Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin","descriptions":[{"lang":"en","value":"Miantang/IoT-PHP's index.php implements a POST /userlogin route that reads the password directly from ['pwd'] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username='' and password='' limit 1\"). An unauthenticated attacker can submit a payload such as pwd=' OR '1'='1 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database."}],"affected":[{"vendor":"Miantang","product":"IoT-PHP","defaultStatus":"unknown","versions":[{"version":"0","status":"affected"}],"programFiles":["index.php"]}],"references":[{"url":"https://github.com/Miantang/IoT-PHP","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:40.322Z"},"credits":[{"lang":"en","value":"Mirdavlatov Mira'zam","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T10:56:31.037Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T12:46:46.300170Z","id":"CVE-2026-71237","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:48:00.140Z"}}]}}}