Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-9660

CVE-2025-9660: Bakeshop Online Ordering System SQLi Flaw

CVE-2025-9660 is a SQL injection vulnerability in Bakeshop Online Ordering System 1.0 affecting the passwordrecover.php file. Attackers can exploit this remotely to manipulate database queries. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 18, 2026

CVE-2025-9660 Overview

A SQL Injection vulnerability has been identified in SourceCodester Bakeshop Online Ordering System version 1.0. The vulnerability exists in the /passwordrecover.php file where the phonenumber argument is not properly sanitized, allowing attackers to inject malicious SQL queries. This flaw can be exploited remotely without authentication, potentially enabling unauthorized access to the database, data exfiltration, or manipulation of stored information.

Critical Impact

Remote attackers can exploit this SQL injection vulnerability to bypass authentication mechanisms, extract sensitive customer and order data, or modify database records without authorization. The exploit has been publicly disclosed, increasing the risk of active exploitation.

Affected Products

  • Janobe Bakeshop Online Ordering System 1.0

Discovery Timeline

  • 2025-08-29 - CVE-2025-9660 published to NVD
  • 2025-09-08 - Last updated in NVD database

Technical Details for CVE-2025-9660

Vulnerability Analysis

This SQL Injection vulnerability (CWE-74: Injection) occurs in the password recovery functionality of the Bakeshop Online Ordering System. The application fails to properly sanitize or parameterize user input from the phonenumber parameter before incorporating it into SQL queries. When a user submits a phone number through the password recovery form, the unsanitized input is directly concatenated into a database query, creating an injection point that attackers can exploit.

The vulnerability is accessible over the network without requiring any authentication or user interaction, making it particularly dangerous for internet-facing deployments. Successful exploitation could allow attackers to read sensitive data from the database, modify or delete records, and potentially escalate to more severe attacks depending on the database configuration.

Root Cause

The root cause of this vulnerability is improper input validation and the use of dynamic SQL query construction. The passwordrecover.php script directly incorporates user-supplied data from the phonenumber parameter into SQL statements without using prepared statements or parameterized queries. This allows specially crafted input to alter the intended SQL logic and execute arbitrary database commands.

Attack Vector

The attack is conducted remotely over the network by sending a malicious HTTP request to the /passwordrecover.php endpoint. An attacker can craft a specially formatted value for the phonenumber parameter that escapes the intended query context and injects additional SQL commands. The attack requires no authentication and no user interaction, making exploitation straightforward once the target system is identified.

The vulnerability can be exploited through standard SQL injection techniques such as UNION-based attacks to extract data from other tables, Boolean-based blind injection to infer database contents, or time-based blind injection for systems where direct output is not visible. Technical details and proof-of-concept information have been discussed in the GitHub Issue Discussion and documented in the VulDB Report #321868.

Detection Methods for CVE-2025-9660

Indicators of Compromise

  • Unusual or malformed requests to /passwordrecover.php containing SQL syntax characters such as single quotes, double quotes, semicolons, or SQL keywords
  • Database error messages in HTTP responses or application logs indicating SQL syntax errors
  • Unexpected database queries or access patterns in database audit logs
  • Multiple failed password recovery attempts from the same IP address with varying phonenumber values

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the phonenumber parameter
  • Monitor web server access logs for requests to /passwordrecover.php containing suspicious characters or SQL keywords
  • Enable database query logging and alert on queries with unusual structure or unauthorized table access
  • Deploy intrusion detection signatures targeting common SQL injection attack patterns

Monitoring Recommendations

  • Configure real-time alerting for SQL injection attack signatures in network security monitoring tools
  • Review database audit logs regularly for unauthorized SELECT, INSERT, UPDATE, or DELETE operations
  • Monitor application error logs for database-related exceptions that may indicate exploitation attempts
  • Implement rate limiting on the password recovery endpoint to slow down automated attack attempts

How to Mitigate CVE-2025-9660

Immediate Actions Required

  • Restrict access to the /passwordrecover.php endpoint to trusted IP addresses or disable the password recovery feature temporarily
  • Deploy a Web Application Firewall with SQL injection protection rules in front of the application
  • Review and audit all user input handling in the application for similar vulnerabilities
  • Monitor database activity for signs of data exfiltration or unauthorized modifications

Patch Information

No official vendor patch has been released at this time. The application is developed by SourceCodester and distributed through their platform. Organizations using this software should monitor the SourceCodester website for updates. Given the nature of SourceCodester projects as open-source learning resources, users may need to implement their own fixes.

For additional technical details, refer to the VulDB #321868 entry and the VulDB Submission #637236.

Workarounds

  • Modify the /passwordrecover.php file to use prepared statements with parameterized queries instead of direct string concatenation
  • Implement input validation to restrict the phonenumber parameter to numeric characters only
  • Add a Web Application Firewall rule specifically blocking SQL injection attempts on the affected endpoint
  • Consider disabling the password recovery feature entirely until a proper fix can be implemented
  • Apply database principle of least privilege to limit the impact of successful SQL injection attacks
bash
# Example WAF rule for ModSecurity to block SQL injection on the affected endpoint
SecRule REQUEST_URI "@contains /passwordrecover.php" \
    "id:100001,phase:2,deny,status:403,log,msg:'Potential SQL Injection in phonenumber parameter',\
    chain"
SecRule ARGS:phonenumber "@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/TechJanobe Bakeshop

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.03%

  • 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
  • Technical References
  • GitHub Issue Discussion

  • VulDB Report #321868

  • VulDB #321868

  • VulDB Submission #637236

  • SourceCodester Blog
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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