Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
cve-program · CVE-2026-71237
PublishedMiantang/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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-71237 · CVE overview and exploitation status
cve-program · CVE-2026-71237
Related changes
Linked by CVE identifierNo related changes are available here.