{"id":"CVE-2026-71237","summary":"Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin","details":"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.","modified":"2026-10-23T02:45:15.588940991Z","published":"2026-08-05T10:56:31.037Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71237.json","cna_assigner":"TuranSec"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71237.json"},{"type":"ADVISORY","url":"https://github.com/Miantang/IoT-PHP"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71237"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/miantang/iot-php","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71237.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}