Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/menevarad007/cve-2026-37748
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingPayload Development
GitHubmenevarad007/cve-2026-37748

CVE-2026-37748

Proof-of-concept exploit for CVE-2026-37748, an unrestricted file upload vulnerability in Visitor Management System 1.0 leading to remote code execution via PHP webshell upload.

View Repository
565 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-37748 — Visitor Management System 1.0 - Unrestricted File Upload → RCE

Details

FieldInfo
CVE IDCVE-2026-37748
TypeUnrestricted File Upload → Remote Code Execution
SeverityHigh (CVSSv3: 7.2)
Vendorsanjay1313
ProductVisitor Management System
Version1.0
DiscovererVarad AP Mene
Date2026-04-16
CWECWE-434

Description

A critical Unrestricted File Upload vulnerability exists in Visitor Management System 1.0 by sanjay1313. The move_uploaded_file() function in vms/php/admin_user_insert.php and vms/php/update_1.php is called without any MIME type, file extension, or content validation. An authenticated admin can upload a PHP webshell via the image upload field and achieve Remote Code Execution on the server by accessing the uploaded file directly via URL.

CVE ID: CVE-2026-37748 CWE: CWE-434 — Unrestricted Upload of File with Dangerous Type CVSSv3: 7.2 High (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)


Product Description

Visitor Management System 1.0 is a PHP/MySQL web application by sanjay1313 on GitHub used to manage visitor records in organizations.

Vendor URL: https://github.com/sanjay1313/Visitor-Management-System


Vulnerable Files

vms/php/admin_user_insert.php vms/php/update_1.php


Vulnerable Code

root@kitploit:~
$image = $_FILES['image']['name'];
$tmp = $_FILES['image']['tmp_name'];
move_uploaded_file($tmp, "../images/" . $image);

No validation of file extension, MIME type, or content.


Proof of Concept

Step 1 — Create webshell file shell.php:

Step 2 — Login to admin panel: http://target/vms/ Username: admin Password: admin

Step 3 — Upload shell.php as profile image: Navigate to Admin Users → Add New Admin Upload shell.php as profile photo

Step 4 — Execute commands: http://target/vms/images/shell.php?cmd=id http://target/vms/images/shell.php?cmd=whoami


Impact

  • Full Remote Code Execution as web server user
  • Complete server compromise
  • Data exfiltration of all visitor records
  • Lateral movement within server network

Remediation

root@kitploit:~
// 1. Validate file extension
$allowed = ['jpg', 'jpeg', 'png', 'gif'];
$ext = strtolower(pathinfo($_FILES['image']['name'], PATHINFO_EXTENSION));
if (!in_array($ext, $allowed)) {
    die("Invalid file type");
}

// 2. Validate MIME type
$finfo = finfo_open(FILEINFO_MIME_TYPE);
$mime = finfo_file($finfo, $_FILES['image']['tmp_name']);
$allowed_mime = ['image/jpeg', 'image/png', 'image/gif'];
if (!in_array($mime, $allowed_mime)) {
    die("Invalid MIME type");
}

// 3. Rename file on server
$new_name = uniqid() . '.' . $ext;
move_uploaded_file($_FILES['image']['tmp_name'], "../images/" . $new_name);

Timeline

DateEvent
2026-03-15Vulnerability discovered
2026-03-15Reported to MITRE
2026-04-02CVE-2026-37748 assigned
2026-04-16Public disclosure
2026-04-16MITRE notified about publication
2026-04-17Vendor notified via GitHub Issues

References

  • https://github.com/sanjay1313/Visitor-Management-System

Discoverer

Varad Arachana Prashant Mene

  • Email: [email protected]
  • GitHub: https://github.com/menevarad007
Download Tool