漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
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