| Title | SourceCodester Canteen Management System createfood.php sql injection |
|---|
| Description | SourceCodester Canteen Management System createfood.php sql injection
url: youthappam/php_action/createfood.php
Abstract:
Line 35 of createfood.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 createfood.php on line 35.
Download Code:
https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html |
|---|
| Source | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/129622829 |
|---|
| User | faith (UID 33086) |
|---|
| Submission | 03/17/2023 09:11 (3 years ago) |
|---|
| Moderation | 03/17/2023 15:37 (6 hours later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 223306 [SourceCodester Canteen Management System 1.0 createCategories.php query categoriesStatus sql injection] |
|---|
| Points | 0 |
|---|