| 标题 | The Earnings and Expense Tracker Application has sql injection vulnerabilities |
|---|
| 描述 | 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 |
|---|
| 来源 | ⚠️ https://www.sourcecodester.com/php/16354/earnings-and-expense-tracker-app-using-php-and-sqlite3-source-code-free-download.html |
|---|
| 用户 | aallll (UID 34396) |
|---|
| 提交 | 2023-03-31 17時37分 (4 年前) |
|---|
| 管理 | 2023-03-31 21時40分 (4 hours later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 224700 [SourceCodester Earnings and Expense Tracker App 1.0 manage_user.php id SQL注入] |
|---|
| 积分 | 20 |
|---|