Visitor Management System: SQL injection and unrestricted file upload (CVE-2026-10170)
Visitor Management System 1.0 is vulnerable to a critical attack chain where SQL injection in 'pass.php' leads to plaintext credential theft and subsequent unrestricted file upload in 'admin_user_0.php' for remote code execution.
CVE search metadata
CVE search record: CVE-2026-10170. Severity: medium. CVSS: 6.3. EPSS: 0.24%. KEV: no. Product: Visitor Management System (1.0). Brief: Visitor Management System: SQL injection and unrestricted file upload (CVE-2026-10170). Brief link: https://feed.craftedsignal.io/briefs/2026-10-visitor-management-system-rce/
Triage facts
Revision 1- Applicability
- Visitor Management System (1.0)
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 24, 04:06 UTC
- Detection
- 2 rules
- Vulnerabilities
- 1 CVE
- Source quality
- C3Likely
Visitor Management System 1.0, developed by code-projects.org, contains a critical attack chain involving two distinct vulnerabilities: a SQL injection (CWE-89) in pass.php and an unrestricted file upload (CWE-434) in admin_user_0.php. Successful exploitation allows an attacker with low-privileged access to exfiltrate administrative credentials stored in plaintext and subsequently execute arbitrary OS commands on the host server.
Attack Chain
- Attacker authenticates as a low-privileged user (e.g., guard account).
- Attacker interacts with
/vms/php/phone_0.phpand injects SQL commands into thephonePOST parameter. - Attacker uses SQL injection to exfiltrate the
login_usertable from thevmsdatabase. - Attacker recovers plaintext administrative credentials from the dump.
- Attacker authenticates to the application using the harvested admin credentials.
- Attacker navigates to the Admin User management panel at
/vms/php/admin_user_0.php. - Attacker uploads a malicious PHP webshell through the profile image upload field, which lacks file validation.
- Attacker accesses the uploaded webshell via a direct URL and executes OS commands to achieve full system compromise.
Impact
Successful exploitation results in full database compromise, unauthorized administrative access, and arbitrary code execution on the underlying server. Because passwords are stored in plaintext within the database, the impact is magnified as no further cracking effort is required by an attacker.
Recommendation
- Immediately restrict access to the Visitor Management System to authorized networks or require robust multi-factor authentication for all users.
- Audit the
/vms/php/directory for any unauthorized files, specifically.phpfiles created by non-administrative users. - Apply strict file-type validation and extension filtering on all upload inputs within the application.
- Implement parameterized queries across all database interaction modules to remediate the SQL injection vulnerability.
- Upgrade or patch Visitor Management System if a fix becomes available from code-projects.org.
Immediate actions
Inventory all instances of Visitor Management System (1.0) and restrict external access.
Threat Hunt
Search web server logs for HTTP POST requests to /vms/php/pass.php containing SQL injection patterns or GET requests to /vms/php/folder/ containing 'cmd='.
Data: Web server access logs
Mitigations
Remove or restrict permissions for the `/vms/php/folder/` directory to prevent webshell execution.
Unrestricted file upload in admin_user_0.php
Detection coverage 2
Detect CVE-2026-10170 Exploitation - SQL Injection via phone parameter
highDetects SQL injection attempts against the phone parameter in pass.php by searching for common SQL syntax characters in HTTP POST requests.
Detect CVE-2026-10170 Exploitation - Webshell access via /folder/
criticalDetects access to potential webshells uploaded within the VMS application directory.
Detection queries are available on the platform. Get full rules →