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-1820

CVE-2024-1820: Crime Reporting System SQLi Vulnerability

CVE-2024-1820 is a critical SQL injection vulnerability in Code-projects Crime Reporting System 1.0 affecting the inchargelogin.php file. This article covers the technical details, affected versions, security impact, and mitigation.

Published: April 8, 2026

CVE-2024-1820 Overview

A critical SQL injection vulnerability has been identified in code-projects Crime Reporting System version 1.0. This vulnerability exists in the inchargelogin.php file, where improper sanitization of the email and password parameters allows attackers to inject malicious SQL queries. The vulnerability can be exploited remotely without authentication, potentially leading to complete database compromise, unauthorized access to sensitive crime reporting data, and full system takeover.

Critical Impact

Unauthenticated attackers can remotely exploit this SQL injection flaw to bypass authentication, extract sensitive data from the database, modify or delete records, and potentially achieve remote code execution on the underlying server.

Affected Products

  • Code-projects Crime Reporting System 1.0

Discovery Timeline

  • 2024-02-23 - CVE-2024-1820 published to NVD
  • 2024-12-07 - Last updated in NVD database

Technical Details for CVE-2024-1820

Vulnerability Analysis

This vulnerability represents a classic SQL injection flaw in a web-based crime reporting application. The inchargelogin.php file fails to properly sanitize user-supplied input in the authentication mechanism. When processing login requests, the application directly concatenates user input from the email and password parameters into SQL queries without adequate input validation or parameterized queries.

The attack surface is particularly concerning as the vulnerable endpoint is the login page, which is inherently accessible to unauthenticated users. An attacker can craft malicious input containing SQL metacharacters and commands that alter the intended query logic. This can result in authentication bypass, allowing unauthorized access to administrative functions of the crime reporting system.

Given the nature of the application—a crime reporting system—the potential data exposure includes sensitive personal information, crime reports, witness details, and other law enforcement-related data.

Root Cause

The root cause of this vulnerability is the lack of input validation and the use of unsanitized user input in SQL query construction. The inchargelogin.php file directly incorporates user-supplied email and password values into database queries without implementing prepared statements, parameterized queries, or proper input escaping. This represents a fundamental failure to follow secure coding practices for database interactions.

Attack Vector

The attack can be initiated remotely over the network without any authentication requirements. An attacker simply needs to access the login page (inchargelogin.php) and submit crafted input in the email or password fields. The exploitation does not require user interaction, making it trivially exploitable by automated tools such as SQLMap.

Typical attack payloads include:

  • Authentication bypass using payloads like ' OR '1'='1' --
  • UNION-based injection to extract data from other database tables
  • Time-based blind SQL injection to enumerate database contents
  • Stacked queries (if supported) to modify or delete data

The exploit technique has been publicly disclosed, increasing the risk of widespread exploitation. Technical details are available in the GitHub SQL Injection Analysis repository.

Detection Methods for CVE-2024-1820

Indicators of Compromise

  • Unusual login attempts with SQL metacharacters (single quotes, double dashes, UNION keywords) in authentication logs
  • Database error messages in web server logs indicating malformed SQL queries
  • Unexpected database queries or access patterns from the web application user
  • Evidence of data exfiltration or unauthorized data access in database audit logs

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in HTTP requests
  • Monitor authentication logs for login attempts containing SQL syntax characters such as ', --, UNION, SELECT, or OR 1=1
  • Deploy database activity monitoring to detect anomalous query patterns originating from the Crime Reporting System application
  • Use intrusion detection systems with SQL injection detection signatures targeting the inchargelogin.php endpoint

Monitoring Recommendations

  • Enable detailed logging for the inchargelogin.php endpoint and review logs for suspicious input patterns
  • Configure database auditing to track all queries executed by the web application database user
  • Set up alerts for failed authentication attempts that contain non-alphanumeric characters in credential fields
  • Monitor for any changes to database schema or unexpected data modifications

How to Mitigate CVE-2024-1820

Immediate Actions Required

  • Take the Crime Reporting System offline or restrict network access to trusted IP addresses only
  • Review database logs for evidence of exploitation and assess potential data breach scope
  • Implement a Web Application Firewall with SQL injection protection rules as an interim measure
  • Consider deploying an intrusion prevention system to block malicious requests targeting the login endpoint

Patch Information

As of the last NVD update on 2024-12-07, no official vendor patch has been released for this vulnerability. The Crime Reporting System is a code-projects application, and users should monitor the VulDB entry for updates regarding fixes.

Organizations using this software should consider implementing code-level fixes if the source code is available, or transitioning to a more actively maintained crime reporting solution.

Workarounds

  • Modify the inchargelogin.php file to use prepared statements or parameterized queries for all database interactions
  • Implement server-side input validation to reject any input containing SQL metacharacters in authentication fields
  • Deploy a reverse proxy or WAF with SQL injection filtering capabilities in front of the application
  • Restrict database user permissions to minimum required privileges (principle of least privilege)
  • Consider implementing additional authentication mechanisms such as CAPTCHA to reduce automated attack risk
bash
# Example WAF rule for ModSecurity to block SQL injection attempts
SecRule ARGS "@detectSQLi" \
    "id:1001,\
    phase:2,\
    block,\
    msg:'SQL Injection Attack Detected',\
    logdata:'Matched Data: %{MATCHED_VAR}',\
    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/TechCode Projects Crime Reporting System

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.04%

  • 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 Analysis

  • VulDB CTI Report #254608

  • VulDB #254608
  • Related CVEs
  • CVE-2025-7168: Crime Reporting System SQLi Vulnerability

  • CVE-2025-7169: Crime Reporting System SQLi Vulnerability

  • CVE-2025-7170: Crime Reporting System SQLi Vulnerability

  • CVE-2025-7171: Crime Reporting System SQL Injection Flaw
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