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.
References
| Link | Resource |
|---|---|
| https://github.com/Miantang/IoT-PHP |
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-05 11:16
Updated : 2026-08-26 17:13
NVD link : CVE-2026-71237
Mitre link : CVE-2026-71237
CVE.ORG link : CVE-2026-71237
JSON object : View
Products Affected
No product.
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
