CVE-2026-71237
Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
- State
- Published
- Severity
- 9.8 Critical
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | TuranSec |
Weaknesses
- CWE-89 SQL Injection
Affected Products
| Product | Versions |
|---|---|
IoT-PHPMiantang |
|
References
- https://github.com/Miantang/IoT-PHPthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.