The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-1702

CVE-2024-1702: PHP-MYSQL User Login System SQL Injection

CVE-2024-1702 is a critical SQL injection vulnerability in keerti1924 PHP-MYSQL User Login System 1.0 affecting /edit.php. Attackers can exploit this remotely to manipulate databases and compromise data integrity.

Published: April 15, 2026

CVE-2024-1702 Overview

A critical SQL injection vulnerability has been identified in keerti1924 PHP-MYSQL-User-Login-System version 1.0. This vulnerability affects the /edit.php file, where improper input validation allows attackers to inject malicious SQL statements. The vulnerability can be exploited remotely without authentication, potentially leading to unauthorized access to sensitive data, data manipulation, and complete database compromise.

Critical Impact

This SQL injection vulnerability allows unauthenticated remote attackers to execute arbitrary SQL commands against the backend database, potentially leading to complete data exfiltration, modification, or deletion.

Affected Products

  • keerti1924 PHP-MYSQL-User-Login-System version 1.0
  • PHP-based authentication systems using vulnerable edit.php functionality

Discovery Timeline

  • 2024-02-21 - CVE-2024-1702 published to NVD
  • 2025-02-12 - Last updated in NVD database

Technical Details for CVE-2024-1702

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), one of the most dangerous web application security flaws. The /edit.php file in the PHP-MYSQL-User-Login-System fails to properly sanitize user-supplied input before incorporating it into SQL queries. This allows attackers to break out of the intended query structure and inject their own malicious SQL commands.

The exploit has been publicly disclosed, increasing the risk of active exploitation. The vendor was contacted early about this disclosure but did not respond, leaving users without an official patch.

Root Cause

The root cause of this vulnerability lies in the lack of proper input validation and parameterized queries in the /edit.php file. When user input is directly concatenated into SQL query strings without sanitization or the use of prepared statements, the application becomes vulnerable to SQL injection attacks. This is a fundamental secure coding violation that affects the core authentication functionality of the login system.

Attack Vector

The attack can be launched remotely over the network without requiring any authentication or user interaction. An attacker can craft malicious HTTP requests targeting the /edit.php endpoint with specially crafted payloads in vulnerable parameters. These payloads manipulate the SQL query logic to bypass authentication, extract sensitive data from the database, modify or delete records, or potentially gain access to the underlying server depending on database permissions.

The attack flow involves identifying injectable parameters in /edit.php, crafting SQL injection payloads using techniques such as UNION-based injection or time-based blind injection, and submitting these payloads via HTTP requests to exfiltrate or manipulate database contents.

Detection Methods for CVE-2024-1702

Indicators of Compromise

  • Unusual or malformed HTTP requests to /edit.php containing SQL syntax characters such as single quotes, double dashes, UNION SELECT statements, or OR 1=1 patterns
  • Database query logs showing unexpected queries or syntax errors originating from the web application
  • Evidence of data exfiltration or unauthorized database modifications
  • Increased error rates from the PHP application related to database operations

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common SQL injection patterns targeting the /edit.php endpoint
  • Enable detailed logging for all database queries and monitor for anomalous query patterns or SQL syntax in user-controlled input fields
  • Deploy intrusion detection systems (IDS) with signatures for SQL injection attack patterns
  • Configure SentinelOne Singularity Platform to monitor web application processes for suspicious database interaction patterns

Monitoring Recommendations

  • Monitor HTTP access logs for requests to /edit.php containing encoded or plain-text SQL injection payloads
  • Set up alerts for database authentication failures or unusual query volumes
  • Track changes to sensitive database tables that may indicate unauthorized data manipulation
  • Review web server error logs for PHP database-related exceptions that may indicate exploitation attempts

How to Mitigate CVE-2024-1702

Immediate Actions Required

  • Remove or restrict access to the PHP-MYSQL-User-Login-System application until a fix is implemented
  • Implement a Web Application Firewall (WAF) to filter SQL injection attempts targeting /edit.php
  • Conduct a security audit of all user input handling in the application
  • Consider replacing the vulnerable component with a maintained authentication system that follows secure coding practices

Patch Information

No official patch is available from the vendor. The vendor was contacted early about this disclosure but did not respond. Users should implement manual code fixes using parameterized queries or prepared statements for all database operations in /edit.php. For technical details and proof-of-concept information, refer to the GitHub SQL Injection Example and the VulDB advisory #254390.

Workarounds

  • Implement input validation using allowlisting to restrict acceptable characters in user input fields
  • Refactor the /edit.php file to use PDO prepared statements or MySQLi parameterized queries for all database operations
  • Apply the principle of least privilege to database accounts used by the web application to minimize impact if exploitation occurs
  • Deploy network segmentation to isolate the database server from direct internet access
bash
# Example PHP mitigation using prepared statements
# Replace direct query concatenation in edit.php with:
# $stmt = $pdo->prepare("SELECT * FROM users WHERE id = ?");
# $stmt->execute([$user_input]);

# Restrict access to edit.php via .htaccess
<Files "edit.php">
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    Allow from your.trusted.ip.address
</Files>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechKeerti1924 Php Mysql User Signup Login System

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub SQL Injection Example

  • VulDB CTI ID #254390

  • VulDB #254390
  • Related CVEs
  • CVE-2024-2264: PHP-MYSQL Login System SQL 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