CVE-2026-71237
9.8critical
Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
- Severity
- 9.8critical CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Miantang IoT-PHP | 0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
| https://github.com/Miantang/IoT-PHP | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71237 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-71237 changed 2026-08-26 | Public domain |