Submit #109903: The Earnings and Expense Tracker Application has file reading vulnerabilitiesinfo

TitleThe Earnings and Expense Tracker Application has file reading vulnerabilities
DescriptionUsers can read files on the server through carefully constructed urls. The vulnerability is at line 83 of index.php, where the code does not filter user input. page parameters are completely controllable and unfiltered. https://github.com/web-zxl/img/blob/main/1.png https://github.com/web-zxl/img/blob/main/2.png We construct the following statement http://127.0.0.1/php-sqlite-expense-tracker/?page=php://filter /read=convert. base64-encode/resource=users and access, you can see the page read fetch base64 encoded users. base64 decoding is the source code of users.php https://github.com/web-zxl/img/blob/main/3.png
Source⚠️ https://www.sourcecodester.com/php/16354/earnings-and-expense-tracker-app-using-php-and-sqlite3-source-code-free-download.html
User
 aallll (UID 34396)
Submission04/04/2023 12:11 (3 years ago)
Moderation04/05/2023 08:04 (20 hours later)
StatusAccepted
VulDB entry224997 [SourceCodester Earnings and Expense Tracker App 1.0 index.php page information disclosure]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!