| Titel | The Earnings and Expense Tracker Application has sql injection vulnerabilities |
|---|
| Beschreibung | 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 |
|---|
| Quelle | ⚠️ https://www.sourcecodester.com/php/16354/earnings-and-expense-tracker-app-using-php-and-sqlite3-source-code-free-download.html |
|---|
| Benutzer | aallll (UID 34396) |
|---|
| Einreichung | 31.03.2023 17:37 (vor 3 Jahren) |
|---|
| Moderieren | 31.03.2023 21:40 (4 hours later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 224700 [SourceCodester Earnings and Expense Tracker App 1.0 manage_user.php ID SQL Injection] |
|---|
| Punkte | 20 |
|---|