| Título | The Earnings and Expense Tracker Application has sql injection vulnerabilities |
|---|
| Descrição | Users can construct malicious statements in manage_user.php for sql injection because the id parameter in the code is completely controllable and is concatenated directly into the sql statement for execution
https://github.com/web-zxl/img/blob/main/4.png
Reusing the points contained in the file in index.php, the file contains the manage_user.php file, which assigns page a value of manage_user
https://github.com/web-zxl/img/blob/main/1.png
https://github.com/web-zxl/img/blob/main/2.png
To sum up, we carefully construct the following statement, can complete the entire sql injection attack
Visit http://127.0.0.1/php-sqlite-expense-tracker/?page=manage_user&id=2%27union%20select%201,sqlite_version(),3,4,5;
https://github.com/web-zxl/img/blob/main/5.jpg
You can get the database version is 3.33.0 |
|---|
| Fonte | ⚠️ https://www.sourcecodester.com/php/16354/earnings-and-expense-tracker-app-using-php-and-sqlite3-source-code-free-download.html |
|---|
| Utilizador | aallll (UID 34396) |
|---|
| Submissão | 31/03/2023 17h37 (há 4 anos) |
|---|
| Moderação | 31/03/2023 21h40 (4 hours later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 224700 [SourceCodester Earnings and Expense Tracker App 1.0 manage_user.php id Injeção SQL] |
|---|
| Pontos | 20 |
|---|