| 标题 | SourceCodester Canteen Management System createCategories.php sql injection |
|---|
| 描述 | SourceCodester Canteen Management System createCategories.php sql injection
url: youthappam/php_action/createCategories.php
Abstract:
Line 15 of createCategories.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:
1. Data enters a program from an untrusted source.
2. The data is used to dynamically construct a SQL query.
In this case, the data is passed to query() in createCategories.php on line 15.
Parameter: categoriesStatus (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload:
categoriesName=11&categoriesStatus=11' AND (SELECT 1775 FROM (SELECT(SLEEP(5)))taVZ) AND 'yuus'='yuus
Download Code:
https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html |
|---|
| 来源 | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/129622219 |
|---|
| 用户 | faith (UID 33086) |
|---|
| 提交 | 2023-03-17 08時45分 (3 年前) |
|---|
| 管理 | 2023-03-17 08時53分 (8 minutes later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 223306 [SourceCodester Canteen Management System 1.0 createCategories.php query categoriesStatus SQL注入] |
|---|
| 积分 | 20 |
|---|