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

CVE-2024-7377: Simple Realtime Quiz System SQLi Flaw

CVE-2024-7377 is a critical SQL injection vulnerability in Oretnom23 Simple Realtime Quiz System 1.0 affecting /view_result.php. This post covers the technical details, affected versions, security impact, and mitigation.

Published: May 26, 2026

CVE-2024-7377 Overview

CVE-2024-7377 is a SQL injection vulnerability in SourceCodester Simple Realtime Quiz System 1.0, developed by oretnom23. The flaw exists in the /view_result.php script, where the qid parameter is passed directly into a database query without sanitization [CWE-89]. Remote attackers with low privileges can manipulate the qid argument to inject arbitrary SQL statements. The exploit has been publicly disclosed, increasing the risk of opportunistic attacks against exposed deployments. The vulnerability was tracked as VulDB entry VDB-273361 and published to NVD on August 2, 2024.

Critical Impact

Authenticated remote attackers can inject SQL through the qid parameter in /view_result.php, exposing quiz data, user records, and credentials stored in the backend database.

Affected Products

  • SourceCodester Simple Realtime Quiz System 1.0
  • Vendor: oretnom23
  • CPE: cpe:2.3:a:oretnom23:simple_realtime_quiz_system:1.0

Discovery Timeline

  • 2024-08-02 - CVE-2024-7377 published to NVD
  • 2024-08-02 - Public proof-of-concept disclosed via GitHub Gist and VulDB submission #383525
  • 2024-08-09 - Last updated in NVD database

Technical Details for CVE-2024-7377

Vulnerability Analysis

The vulnerability resides in /view_result.php, a script that displays quiz results based on a quiz identifier supplied through the qid HTTP request parameter. The application concatenates the user-supplied qid value directly into a backend SQL query without parameterization or input validation. An authenticated attacker can submit crafted values that alter query logic, append UNION SELECT statements, or invoke time-based blind injection payloads.

Successful exploitation enables attackers to read arbitrary database tables, including stored credentials, session tokens, and quiz administrative records. Depending on the database user's privileges, attackers can also modify or delete records. The attack requires only network access to the application and a low-privilege account, with no user interaction required.

Root Cause

The root cause is improper neutralization of special elements used in SQL commands [CWE-89]. The PHP code in view_result.php treats the qid parameter as trusted input and embeds it directly into a dynamic SQL string rather than using prepared statements with bound parameters.

Attack Vector

An attacker sends an HTTP request to /view_result.php with a malicious qid query string value. Typical payloads include boolean-based, error-based, and UNION-based SQL injection techniques. Because the exploit is publicly documented in the GitHub Gist PoC and indexed in VulDB #273361, automated scanners and opportunistic attackers can reproduce the attack with minimal effort.

No verified sanitized exploitation code is reproduced here. Refer to the linked references for technical proof-of-concept details.

Detection Methods for CVE-2024-7377

Indicators of Compromise

  • HTTP requests to /view_result.php containing SQL metacharacters such as single quotes, UNION, SELECT, SLEEP(, or comment sequences (--, /*) within the qid parameter.
  • Web server access logs showing abnormally long qid values or non-numeric content where an integer is expected.
  • Database error messages logged by the PHP application referencing syntax errors near the qid value.
  • Unexpected outbound queries from the database service or sudden spikes in row reads against quiz-related tables.

Detection Strategies

  • Deploy web application firewall (WAF) rules that match SQL injection signatures targeting the qid parameter on /view_result.php.
  • Enable database query logging and alert on queries containing tautologies, stacked statements, or UNION operators originating from the quiz application service account.
  • Correlate web access logs with database audit logs to identify request-to-query patterns consistent with injection attempts.

Monitoring Recommendations

  • Monitor authentication logs for low-privilege accounts that suddenly issue large volumes of view_result.php requests.
  • Track HTTP 500 responses from the application, which often accompany failed SQL injection probing.
  • Alert on egress traffic from the database host to unexpected destinations, which can indicate exfiltration following successful injection.

How to Mitigate CVE-2024-7377

Immediate Actions Required

  • Restrict network exposure of the Simple Realtime Quiz System to trusted networks until a vendor fix is applied.
  • Disable or remove the /view_result.php endpoint if quiz result functionality is not required in production.
  • Rotate database credentials and review database audit logs for evidence of prior exploitation.
  • Enforce least privilege on the database account used by the application to limit the impact of successful injection.

Patch Information

No vendor patch is currently listed in the NVD references for CVE-2024-7377. Administrators should monitor the SourceCodester project page and VulDB entry #273361 for updates. In the absence of an official fix, organizations should apply compensating controls or migrate to a maintained quiz platform.

Workarounds

  • Implement a WAF rule that blocks non-integer values submitted to the qid parameter on /view_result.php.
  • Apply input validation at a reverse proxy layer to reject requests where qid contains SQL keywords or special characters.
  • Move the application behind authentication-required network segmentation, such as a VPN or zero trust gateway.
  • Replace the vulnerable query with a prepared statement if source code modification is permitted by the deployment.
bash
# Example ModSecurity rule to block non-numeric qid values on view_result.php
SecRule REQUEST_URI "@beginsWith /view_result.php" \
    "chain,phase:2,deny,status:403,id:1007377,msg:'CVE-2024-7377 SQLi attempt'"
    SecRule ARGS:qid "!@rx ^[0-9]+$" "t:none"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOretnom23 Simple Realtime Quiz System

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.20%

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

  • VulDB #273361 (CTIID)

  • VulDB #273361

  • VulDB Submission #383525
  • Related CVEs
  • CVE-2024-7374: Simple Realtime Quiz System SQLi Flaw

  • CVE-2024-7375: Simple Realtime Quiz System SQLi Flaw

  • CVE-2024-7378: Simple Realtime Quiz System SQLi Flaw

  • CVE-2024-7369: Simple Realtime Quiz System SQLi Flaw
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