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-2025-6160

CVE-2025-6160: Client Database Management System SQLi Flaw

CVE-2025-6160 is a critical SQL injection vulnerability in Sourcecodester Client Database Management System 1.0 affecting user_customer_create_order.php. This article covers the technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-6160 Overview

CVE-2025-6160 is a SQL injection vulnerability in SourceCodester Client Database Management System 1.0. The flaw resides in the /user_customer_create_order.php endpoint, where the user_id parameter is passed to a database query without proper sanitization. Remote attackers can manipulate the parameter to inject arbitrary SQL statements. No authentication is required, and the exploit has been publicly disclosed. The vulnerability maps to [CWE-89] SQL Injection and [CWE-74] Improper Neutralization of Special Elements in Output.

Critical Impact

Unauthenticated remote attackers can inject SQL through the user_id parameter to read, modify, or extract data from the application database.

Affected Products

  • SourceCodester Client Database Management System 1.0
  • File: /user_customer_create_order.php
  • Vulnerable parameter: user_id

Discovery Timeline

  • 2025-06-17 - CVE-2025-6160 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2025-6160

Vulnerability Analysis

The vulnerability exists in the order creation workflow of SourceCodester Client Database Management System 1.0. The script /user_customer_create_order.php accepts a user_id request parameter and concatenates the value directly into a SQL query without parameterized statements or input validation. An attacker submitting crafted SQL syntax in user_id can break out of the original query context and execute attacker-controlled SQL against the backend database.

The attack is performed over the network and requires no privileges or user interaction. Because the vulnerable endpoint handles order creation, attackers may read records, enumerate users, exfiltrate sensitive client data, or modify business records depending on the database user's privileges.

Root Cause

The root cause is the absence of prepared statements and input sanitization when handling the user_id parameter. The application trusts client-supplied input and concatenates it into a SQL query string. This violates secure coding practices for database interaction and creates a classic [CWE-89] SQL injection condition.

Attack Vector

An unauthenticated remote attacker sends an HTTP request to /user_customer_create_order.php with a malicious user_id value. Typical payloads include UNION-based injection to extract data, boolean-based blind injection to enumerate records, or time-based blind injection when responses are not directly reflected. Public proof-of-concept material has been referenced in the GitHub CVE Issue Tracker and the VulDB advisory.

The vulnerability is exploited through standard HTTP requests. No specialized tooling is required beyond a web client or automated tools such as sqlmap. Refer to the linked advisories for technical details and indicators.

Detection Methods for CVE-2025-6160

Indicators of Compromise

  • HTTP requests to /user_customer_create_order.php containing SQL meta-characters such as ', ", --, UNION, SELECT, SLEEP(, or INFORMATION_SCHEMA in the user_id parameter.
  • Unusually long or URL-encoded user_id values in web server access logs.
  • Database errors, stack traces, or 500 responses originating from the order creation endpoint.
  • Spikes of requests to the endpoint from a single source IP, consistent with automated injection tooling.

Detection Strategies

  • Deploy web application firewall (WAF) signatures that detect SQL injection patterns against the user_id parameter of the order creation endpoint.
  • Enable database query logging and alert on syntactically anomalous queries originating from the web application service account.
  • Correlate access logs with database logs to identify requests that trigger long-running or error-producing queries.

Monitoring Recommendations

  • Monitor outbound data volume from the database host for signs of bulk extraction.
  • Track failed and successful authentication events that occur immediately after suspicious requests to /user_customer_create_order.php.
  • Alert on unexpected schema discovery activity such as queries referencing INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.COLUMNS.

How to Mitigate CVE-2025-6160

Immediate Actions Required

  • Restrict public exposure of the affected application until a fix is in place, using network ACLs or a reverse proxy with authentication.
  • Deploy WAF rules that block SQL injection payloads targeting the user_id parameter on /user_customer_create_order.php.
  • Review database accounts used by the application and revoke any privileges beyond what the application requires.
  • Audit access logs for evidence of prior exploitation and rotate any credentials that may have been exposed.

Patch Information

At the time of publication, no vendor advisory or official patch from SourceCodester is referenced in the available data. Consult the SourceCodester Security Resources page and the VulDB advisory for vendor updates. Organizations should remediate by modifying the application source to use parameterized queries (prepared statements) for all database operations involving user_id and other user-supplied parameters.

Workarounds

  • Modify /user_customer_create_order.php to use prepared statements with bound parameters (for example, mysqli_prepare or PDO with bindParam) instead of string concatenation.
  • Enforce strict server-side input validation, restricting user_id to expected numeric values before any database interaction.
  • Apply the principle of least privilege to the database account used by the application, removing rights to INFORMATION_SCHEMA access and write operations where not needed.
  • Place the application behind a WAF with SQL injection protection enabled until source-level fixes are deployed.
bash
# Example WAF rule (ModSecurity) to block SQLi patterns on the vulnerable endpoint
SecRule REQUEST_URI "@beginsWith /user_customer_create_order.php" \
    "phase:2,deny,status:403,id:1006160,\
    chain,msg:'CVE-2025-6160 SQLi attempt on user_id'"
    SecRule ARGS:user_id "@detectSQLi" \
        "t:none,t:urlDecodeUni"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSourcecodester

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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

  • CWE-89
  • Technical References
  • GitHub CVE Issue Tracker

  • VulDB CTI ID #312635

  • VulDB ID #312635

  • VulDB Submit ID #593216

  • SourceCodester Security Resources
  • Related CVEs
  • CVE-2026-11482: Class & Exam Timetabling SQLi Flaw

  • CVE-2026-10704: Pizzafy E-Commerce System SQLi Vulnerability

  • CVE-2026-7293: Pizzafy Ecommerce System SQLi Vulnerability

  • CVE-2026-7268: Pizzafy Ecommerce System SQLi Vulnerability
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