CVE-2026-71237
JSON

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 packageVersionsReported by
Miantang IoT-PHP0CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71237 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-71237 changed 2026-08-26Public domain