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-2024-6065

CVE-2024-6065: Bakery Online Ordering System SQLi Flaw

CVE-2024-6065 is a critical SQL injection vulnerability in Janobe Bakery Online Ordering System 1.0 affecting the index.php file. Attackers can exploit the user_email parameter remotely. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 8, 2026

CVE-2024-6065 Overview

A SQL injection vulnerability has been identified in itsourcecode Bakery Online Ordering System version 1.0. This vulnerability exists in the index.php file where the user_email parameter is improperly handled, allowing attackers to inject malicious SQL queries. The attack can be initiated remotely without authentication, potentially compromising the entire database backend of affected installations.

Critical Impact

Remote attackers can exploit this SQL injection flaw to bypass authentication, extract sensitive customer data, modify database records, or potentially gain further access to the underlying system through database-level attacks.

Affected Products

  • Janobe Bakery Online Ordering System 1.0
  • itsourcecode Bakery Online Ordering System 1.0

Discovery Timeline

  • June 17, 2024 - CVE-2024-6065 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-6065

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) affects the index.php file in the Bakery Online Ordering System. The application fails to properly sanitize user-supplied input in the user_email parameter before incorporating it into SQL queries. This allows an unauthenticated remote attacker to manipulate database queries by injecting malicious SQL statements through the login or registration forms.

The vulnerability is network-accessible with low attack complexity, requiring no privileges or user interaction to exploit. The public disclosure of exploit details increases the risk of active exploitation against vulnerable deployments.

Root Cause

The root cause of this vulnerability is improper input validation and the absence of parameterized queries or prepared statements when processing the user_email parameter. The application directly concatenates user input into SQL query strings without adequate sanitization, escaping, or type validation. This classic SQL injection pattern allows attackers to break out of the intended query structure and execute arbitrary SQL commands.

Attack Vector

The attack vector is network-based, targeting the user_email parameter in the index.php file. An attacker can craft malicious HTTP requests containing SQL injection payloads in the email field. Since no authentication is required, any remote attacker can attempt exploitation. Common attack techniques include:

The vulnerability allows attackers to submit specially crafted email values containing SQL syntax that manipulates the backend query logic. Typical exploitation patterns include authentication bypass using payloads like ' OR '1'='1 or data extraction using UNION-based injection techniques. Attackers may also attempt time-based blind SQL injection to enumerate database contents when direct output is not available. For detailed technical analysis, refer to the GitHub CVE Issue Discussion and the VulDB Entry #268793.

Detection Methods for CVE-2024-6065

Indicators of Compromise

  • Unusual SQL error messages appearing in web server logs related to index.php
  • Multiple rapid authentication attempts with suspicious characters in email fields (single quotes, semicolons, SQL keywords)
  • Database query logs showing unexpected UNION, SELECT, or DROP statements
  • Anomalous database access patterns or data exfiltration indicators

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the user_email parameter
  • Implement input validation logging to capture malformed email submissions containing SQL metacharacters
  • Configure database audit logging to detect unauthorized queries or schema manipulation attempts
  • Use intrusion detection systems (IDS) with signatures for common SQL injection attack patterns

Monitoring Recommendations

  • Monitor web application logs for requests to index.php containing SQL injection indicators such as ', --, UNION, SELECT, or OR 1=1
  • Set up alerts for database errors or exceptions that may indicate injection attempts
  • Track authentication failure rates and patterns for anomaly detection
  • Review database access logs for queries executed outside normal application behavior

How to Mitigate CVE-2024-6065

Immediate Actions Required

  • Remove the Bakery Online Ordering System from public-facing networks until remediation is complete
  • Implement Web Application Firewall (WAF) rules to filter SQL injection attempts targeting the user_email parameter
  • Review database logs for signs of prior exploitation and potential data compromise
  • Consider placing the application behind additional authentication layers to limit exposure

Patch Information

No official vendor patch is currently available for this vulnerability. The application is distributed through itsourcecode and appears to be an educational or demonstration project. Organizations using this software in production environments should implement the workarounds below or consider migrating to a more secure e-commerce platform with active security support.

Workarounds

  • Modify the index.php source code to use parameterized queries (prepared statements) for all database interactions involving user input
  • Implement server-side input validation to ensure the user_email parameter contains only valid email characters and format
  • Apply principle of least privilege to database accounts used by the application to limit potential damage from successful exploitation
  • Deploy a reverse proxy or WAF with SQL injection protection in front of the application
bash
# Example WAF rule for ModSecurity to block SQL injection in user_email
SecRule ARGS:user_email "@detectSQLi" \
    "id:1001,\
    phase:2,\
    block,\
    msg:'SQL Injection attempt detected in user_email parameter',\
    log,\
    severity:CRITICAL"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechJanobe Bakery Online Ordering System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.10%

  • 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:X/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-89
  • Technical References
  • GitHub CVE Issue Discussion

  • VulDB CTI Entry #268793

  • VulDB Entry #268793

  • VulDB Submission #358386
  • 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