Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
MianTang IoT SQL注入漏洞
Vulnerability Description
MianTang IoT是MianTang个人开发者开源的一款物联网相关开发框架。 MianTang IoT 存在SQL注入漏洞,该漏洞源于index.php文件的/userlogin路由中,password参数未经过滤直接拼接进SQL查询语句,且htmlspecialchars()默认不编码单引号,导致容易受到SQL注入攻击,未认证攻击者可通过提交特制有效载荷绕过身份验证,并利用UNION注入提取数据库中任意数据。
CVSS Information
N/A
Vulnerability Type
N/A