{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-71237", "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "state": "PUBLISHED", "assignerShortName": "TuranSec", "dateReserved": "2026-08-05T10:53:53.175Z", "datePublished": "2026-08-05T10:56:31.037Z", "dateUpdated": "2026-08-10T11:45:40.322Z" }, "containers": { "cna": { "title": "Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin", "descriptions": [ { "lang": "en", "value": "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
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.
" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-89 SQL Injection", "cweId": "CWE-89", "type": "CWE" } ] } ], "affected": [ { "vendor": "Miantang", "product": "IoT-PHP", "programFiles": [ "index.php" ], "versions": [ { "version": "0", "status": "affected" } ], "defaultStatus": "unknown" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH" } } ], "references": [ { "url": "https://github.com/Miantang/IoT-PHP", "tags": [ "third-party-advisory" ] } ], "credits": [ { "lang": "en", "value": "Mirdavlatov Mira'zam", "type": "finder" } ], "providerMetadata": { "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c", "shortName": "TuranSec", "dateUpdated": "2026-08-10T11:45:40.322Z" }, "source": { "discovery": "EXTERNAL" }, "datePublic": "2026-08-05T10:56:31.037Z" }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-08-05T12:46:46.300170Z", "id": "CVE-2026-71237", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-05T12:48:00.140Z" } } ] } }