Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
6DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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).
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).
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
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
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-24139
GHSA-3pw2-2fp4-54wm