| タイトル | SourceCodester Canteen Management System changeUsername.php sql injection |
|---|
| 説明 | SourceCodester Canteen Management System changeUsername.php sql injection
url: youthappam/php_action/changeUsername.php
Abstract:
Line 16 of changeUsername.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 changeUsername.php on line 16.
Parameter: username (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload:
userId&username=1' AND (SELECT 6162 FROM (SELECT(SLEEP(5)))CADo) AND 'WaRF'='WaRF&user_id=1
Download Code:
https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html |
|---|
| ソース | ⚠️ https://blog.csdn.net/weixin_43864034/article/details/129621725 |
|---|
| ユーザー | faith (UID 33086) |
|---|
| 送信 | 2023年03月17日 08:28 (3 年 ago) |
|---|
| モデレーション | 2023年03月17日 08:48 (19 minutes later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 223304 [SourceCodester Canteen Management System 1.0 changeUsername.php ユーザー名 SQLインジェクション] |
|---|
| ポイント | 20 |
|---|