A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-10170

CVE-2026-10170: Visitor Management System SQLi Flaw

CVE-2026-10170 is a SQL injection vulnerability in Visitor Management System 1.0 affecting the phone parameter in phone_0.php. This article covers the technical details, affected versions, security impact, and mitigation.

Published: June 4, 2026

CVE-2026-10170 Overview

CVE-2026-10170 is a SQL injection vulnerability in code-projects Visitor Management System 1.0. The flaw resides in the /vms/php/phone_0.php file, where the phone parameter is not properly sanitized before being used in a SQL query. Remote attackers with low-level privileges can manipulate this parameter to inject arbitrary SQL statements. A public exploit has been released, demonstrating an attack chain from SQL injection to remote code execution. The vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component).

Critical Impact

A public proof-of-concept demonstrates how this SQL injection flaw can be chained into remote code execution against vulnerable Visitor Management System 1.0 deployments.

Affected Products

  • code-projects Visitor Management System 1.0
  • Component: /vms/php/phone_0.php
  • Vulnerable parameter: phone

Discovery Timeline

  • 2026-05-31 - CVE-2026-10170 published to NVD
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-10170

Vulnerability Analysis

The vulnerability exists in the PHP script /vms/php/phone_0.php shipped with code-projects Visitor Management System 1.0. The script accepts a phone parameter from a remote client and concatenates it into a SQL query without sanitization or parameterized binding. An authenticated attacker with low-privilege access can submit crafted input that alters query logic. The published exploit demonstrates extraction of database contents and escalation into remote code execution on the underlying host. The flaw is reachable over the network and requires no user interaction beyond submitting an HTTP request to the vulnerable endpoint.

Root Cause

The root cause is improper neutralization of user-supplied input before it reaches the SQL interpreter [CWE-74]. The phone argument is embedded directly into a query string rather than passed through prepared statements or input filtering. This pattern allows tautology-based injection, UNION-based extraction, and stacked query techniques depending on the database backend configuration.

Attack Vector

The attack vector is network-based. An attacker sends an HTTP request containing a malicious phone value to /vms/php/phone_0.php. Because the application interpolates the value into SQL, the attacker controls part of the executed query. Public proof-of-concept material on GitHub chains the injection with file write primitives, achieving remote code execution on the host. See the GitHub SQLi to RCE Exploit for technical details of the documented chain.

No verified vendor patch code is available. The vulnerability mechanism is documented in prose only, as the affected application is a small educational PHP project distributed by code-projects without a formal patch pipeline.

Detection Methods for CVE-2026-10170

Indicators of Compromise

  • HTTP requests to /vms/php/phone_0.php containing SQL metacharacters such as single quotes, UNION SELECT, --, OR 1=1, or INTO OUTFILE in the phone parameter.
  • Unexpected files written to web-accessible directories under the application root, indicative of SQLi-to-RCE staging.
  • Database error messages or anomalous response sizes returned by phone_0.php.
  • Outbound connections from the web server process to attacker-controlled infrastructure following requests to the vulnerable endpoint.

Detection Strategies

  • Deploy web application firewall rules that flag SQL syntax tokens in the phone parameter of requests to phone_0.php.
  • Enable database query logging and alert on queries originating from the Visitor Management System service account that contain unusual UNION, SLEEP, or LOAD_FILE constructs.
  • Correlate web server access logs with file system change events in the web root to detect post-exploitation web shells.

Monitoring Recommendations

  • Monitor for new PHP files created in the Visitor Management System directory after requests to phone_0.php.
  • Track child processes spawned by the PHP interpreter; shells such as sh, bash, cmd.exe, or powershell.exe launched by the web server are high-fidelity signals.
  • Review authentication logs for low-privilege accounts being used immediately before injection attempts.

How to Mitigate CVE-2026-10170

Immediate Actions Required

  • Restrict network access to the Visitor Management System to trusted internal networks until a fix is applied.
  • Remove or rename /vms/php/phone_0.php if the functionality is not required for operations.
  • Audit the database used by the application for unauthorized accounts, tables, or stored procedures.
  • Rotate database credentials and any secrets that may have been exposed through query output.

Patch Information

No official vendor patch has been published for code-projects Visitor Management System 1.0 at the time of writing. Organizations using this application should treat it as end-of-support and consider migrating to a maintained alternative. Refer to the VulDB Vulnerability #367424 entry for tracking updates.

Workarounds

  • Place the application behind a web application firewall with rules blocking SQL injection patterns on the phone parameter.
  • Modify phone_0.php to use prepared statements with parameter binding via PDO or mysqli instead of string concatenation.
  • Run the PHP-FPM or web server process under a least-privilege account with no write access to the web root, limiting RCE impact.
  • Enforce input validation that restricts the phone field to digits and a small set of formatting characters.
bash
# Example WAF rule (ModSecurity) blocking SQLi tokens on the vulnerable endpoint
SecRule REQUEST_URI "@contains /vms/php/phone_0.php" \
    "chain,deny,status:403,id:1026010170,msg:'CVE-2026-10170 SQLi attempt'"
  SecRule ARGS:phone "@rx (?i)(union\s+select|or\s+1=1|--|/\*|into\s+outfile|load_file)" \
    "t:none,t:urlDecode"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCode Projects

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-74
  • Technical References
  • Code Projects Overview

  • GitHub SQLi to RCE Exploit

  • VulDB Submission #819186

  • VulDB Vulnerability #367424

  • VulDB CTI for #367424
  • Related CVEs
  • CVE-2026-10186: Hospital Management System SQLi Flaw

  • CVE-2026-10208: Hospital Management System SQLi Flaw

  • CVE-2026-9584: Project Management System SQLi Vulnerability

  • CVE-2026-9449: Employee Management System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English