| 标题 | sergomanov SmartHomeAdatum latest (2026-06, no formal release) SQL Injection |
|---|
| 描述 | Description:
SmartHomeAdatum smart home system contains unauthenticated SQL injection in
user registration and deletion (CWE-89).
File: users.php
Vuln 1 - Registration log injection:
mysqli_query($con,"INSERT INTO logs VALUES ('...".$_POST['login']."')");
$_POST['login'] directly concatenated into INSERT without sanitization.
Vuln 2 - User deletion injection:
$box_array = $_REQUEST['box'];
foreach($box_array as $value) {
mysqli_query($con,"DELETE FROM users WHERE id_user='$value'");
}
$_REQUEST['box'] values directly concatenated into DELETE without sanitization.
No authentication check on users.php. Uses deprecated mysql_* functions
alongside mysqli. MIT-licensed open source smart home platform.
Exploitation:
Registration: POST login='); DROP TABLE users; --
Delete: POST del=1&box[]=1' OR '1'='1
Countermeasure: Use prepared statements with parameter binding. CVSS 9.8. |
|---|
| 来源 | ⚠️ https://github.com/sergomanov/SmartHomeAdatum |
|---|
| 用户 | Dest1ny_2 (UID 98658) |
|---|
| 提交 | 2026-06-01 05時54分 (1 月前) |
|---|
| 管理 | 2026-07-11 14時36分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 377805 [sergomanov SmartHomeAdatum 直到 cf495353d81b680675eb8d9aa14a318aa45ce12c Login users.php 登录 SQL注入] |
|---|
| 积分 | 20 |
|---|