CVEvulnerability

CVE-2026-71237

9.8 CRITICAL Published 2026-08-05 Modified 2026-08-26 Official page ↗
Status
Deferred
Published
2026-08-05
Last modified
2026-08-26
Assigner
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89

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.

Related

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References