| 제목 | 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. PM 05:37 (3 연령 ago) |
|---|
| 모더레이션 | 2023. 03. 31. PM 09:40 (4 hours later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 224700 [SourceCodester Earnings and Expense Tracker App 1.0 manage_user.php 아이디 SQL 주입] |
|---|
| 포인트들 | 20 |
|---|