Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials via phishing/credential stuffing
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to user/profile update feature
-
InstallUpload PHP webshell through vulnerable endpoint
-
C2Access uploaded shell URL
-
ExecuteExecute system commands as web server user
-
ImpactExfiltrate data or establish persistence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess valid administrative credentials for the Visitor Management System (PR:H in CVSS vector explicitly requires high privileges). The vulnerable file upload endpoints admin_user_insert.php and update_1.php are accessible only to authenticated admin users, not guest users or unauthenticated visitors. Exploitation limits: this is not a remote unauthenticated attack - the requirement for admin-level authentication significantly constrains the attacker population to those who have already compromised admin accounts through separate attack vectors. Organizations using strong admin passwords, IP-restricted admin access, and multi-factor authentication substantially reduce exploitability. Conversely, organizations with default credentials, shared admin accounts, or admin panels exposed to the public internet without additional controls face elevated risk despite the privilege requirement. |
| Impact | The CVSS 7.2 (High) score reflects significant impact (confidentiality, integrity, availability all High) but is constrained by the high privilege requirement (PR:H - administrative access needed). The CVSS vector shows network accessibility (AV:N), low attack complexity (AC:L), and no user interaction (UI:N), meaning once admin credentials are obtained, exploitation is straightforward. SSVC framework confirms POC availability, non-automatable nature (requires admin context), and total technical impact. Real-world risk depends heavily on admin credential security: organizations with weak admin passwords, shared admin accounts, or compromised admin sessions face immediate RCE risk. The lack of EPSS data and CISA KEV listing suggests this is not yet widely exploited in the wild, likely due to the limited deployment footprint of this specific open-source project. Priority should be HIGH for organizations actually running Visitor Management System 1.0, but the attack surface is limited to those who have already granted or whose admin credentials have been compromised through other means (phishing, credential stuffing, session hijacking). The vulnerability becomes critical in deployment scenarios where admin panels are exposed to the internet without IP restrictions or multi-factor authentication. |
| Exploit ScenarioDerived | An attacker who has compromised admin credentials (via phishing, credential reuse, or brute force against weak passwords) authenticates to the Visitor Management System administrative panel. They navigate to a user management or update feature that utilizes the vulnerable admin_user_insert.php or update_1.php endpoints. Through the file upload form, they upload a PHP webshell (e.g., c99.php, WSO shell) disguised with a legitimate-looking filename. The server accepts and stores the file without validation. The attacker then browses directly to the uploaded webshell's URL (e.g., /vms/uploads/shell.php), gaining a web-based command interface with full server access under the web server process permissions, enabling data exfiltration, lateral movement, malware installation, or complete system compromise. Public proof-of-concept code exists per SSVC data, lowering the technical barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Remote code execution in Visitor Management System 1.0 allows authenticated administrators to upload PHP webshells via two unvalidated file upload endpoints (admin_user_insert.php and update_1.php). The move_uploaded_file() function lacks MIME type, extension, and content validation, enabling direct server compromise. Public proof-of-concept exists (SSVC exploitation: POC). EPSS data not available, but the combination of network-accessible attack vector (AV:N) and total technical impact (SSVC) against a specific niche product suggests targeted exploitation risk rather than widespread automated attacks.
RemediationAI
Primary fix: Review the project repository at https://github.com/sanjay1313/Visitor-Management-System for updated code addressing CVE-2026-37748. No vendor-released patch version is confirmed in available data as of this analysis. If no official patch exists, implement immediate code-level mitigations: modify admin_user_insert.php and update_1.php to validate file extensions against a whitelist (e.g., only .jpg, .png, .pdf), verify MIME types using finfo_file() with FILEINFO_MIME_TYPE, check file signatures/magic bytes, store uploads outside the webroot or in a directory with PHP execution disabled via .htaccess (php_flag engine off), and rename uploaded files to prevent direct execution. Compensating controls with trade-offs: restrict admin panel access by IP whitelist (limits remote administration flexibility), enforce multi-factor authentication for all admin accounts (deployment overhead), implement web application firewall rules to block suspicious file upload patterns (potential false positives), enable PHP disable_functions directive to restrict system command execution (may break legitimate application features), and monitor web server logs for POST requests to the vulnerable endpoints followed by requests to uploaded .php files in upload directories (detective not preventive).
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic unrestricted file upload vulnerability (CWE-434) in a PHP-based web application. The Visitor Management System 1.0 by sanjay1313 uses PHP's move_uploaded_file() function in two administrative endpoints without implementing security controls. Standard secure file upload practices require validating file extensions against a whitelist, verifying MIME types (though these can be spoofed), checking magic bytes/file signatures, renaming uploaded files, storing them outside the webroot, and setting restrictive permissions. The absence of these controls allows an attacker with admin credentials to upload executable PHP code that the web server will interpret, granting full command execution under the web server's user context (typically www-data or apache on Linux systems).
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Visitor Management System 1.0 by sanjay1313 is vulnerable to Unrestricted File Upload in vms/php/admin_user_insert.php and vms/php/update_1.php. The move_uploaded_file() function is called without any MIME type, extension, or content validation, allowing an authenticated admin to upload a PHP webshell and achieve Remote Code Execution on the server.
Executive ViewAI
Visitor Management System 1.0 contains a critical remote code execution vulnerability in administrator file upload functions that allows authenticated admins to deploy malicious PHP code directly to the server, potentially compromising facility access controls and related business systems. Organizations running this product face immediate risk of server takeover and facility security breach, requiring urgent action to restrict administrative access and isolate affected systems pending vendor patch availability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrator role membership to essential personnel only and enforce multi-factor authentication; (2) Implement Web Application Firewall (WAF) rules to block POST requests to admin_user_insert.php and update_1.php with file upload content-types; (3) Deploy file integrity monitoring on web directories to detect unexpected PHP file creation; (4) Implement network segmentation to isolate Visitor Management System from critical infrastructure; (5) Enable comprehensive audit logging for all administrative authentication and file operations; (6) Periodically scan upload directories with antivirus for PHP webshells.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-24139
GHSA-3pw2-2fp4-54wm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB