Skip to content

CVE-2026-71237 Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin

CriticalCVSS 9.8 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
Miantang IoT-PHP = 0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Miantang IoT-PHP = 0 No fix listed

References