提交 #457505: SourceCodester 1.0 Information Disclosure信息

标题SourceCodester 1.0 Information Disclosure
描述Hello team,, I have found vulnerability in SourceCodester Best House Rental Management System 1.0 inside the main page specifically inside "page" parameter however many vulnerability that has been reported about this one was XSS so I found other and more critical vulnerability when I inject this "page" parameter so I can disclose the source code of any page inside the system that's ends with "php" because vulnerability arise because of this line of code: "<?php include $page.'.php' ?>" so I manage to exploit it and retrieve the source of any file I have created a fully working exploit visit this URL to get it and run it: https://pastebin.com/Qupf8YbH and then enter this password: 5yki3cXheX after that you can run the script and it will ask you for file name for example after basic discovery of website like a normal user you will see different pages like login and more so just type the page you want from example after running the script type "loing" and you will get the source code of the login page
来源⚠️ http://localhost/index.php?page=
用户
 0xOlV0 (UID 78507)
提交2024-12-05 19時56分 (1 年前)
管理2024-12-08 21時37分 (3 days later)
状态已接受
VulDB条目287276 [SourceCodester Best House Rental Management System 1.0 /index.php page 权限提升]
积分17

Do you need the next level of professionalism?

Upgrade your account now!