| Titre | SourceCodester Canteen Management System createuser.php sql injection |
|---|
| Description | SourceCodester Canteen Management System createuser.php sql injection
url: youthappam/php_action/createuser.php
Abstract:
Line 17 of createUser.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 createUser.php on line 17.
Parameter: uemail (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload:
userName=111&upassword=11&uemail=11' AND (SELECT 6188 FROM (SELECT(SLEEP(5)))oFgn) AND 'RhiY'='RhiY
Download Code:
https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html
|
|---|
| La source | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/129623847 |
|---|
| Utilisateur | faith (UID 33086) |
|---|
| Soumission | 17/03/2023 09:42 (il y a 3 ans) |
|---|
| Modérer | 17/03/2023 15:42 (6 hours later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 223337 [SourceCodester Canteen Management System 1.0 createuser.php query uemail injection SQL] |
|---|
| Points | 20 |
|---|