CVE-2023-24199

Raffle Draw System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at delete_ticket.php

Critical · published February 6, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
59.0
In the wild
Unconfirmed
What it is

🚨 A careless expectation in the Raffle Draw System opens the door wide to SQL injection! Just by tweaking the id parameter in delete_ticket.php, an attacker could wreak havoc. 🔥 Think of this like a trusted clerk at a raffle who blindly accepts a forged ticket without checking the details — they might end up awarding a prize to someone who shouldn’t have it at all! 🏆 An attacker could exploit this weakness to manipulate the database, leading to unauthorized data access, loss, or even allowing them to delete critical raffle entries. This could turn a fun event into a complete disaster, damaging not only the reputation of the system but also potentially leading to financial loss! ⚡️

Put simply

Think of this like a trusted clerk at a raffle who blindly accepts a forged ticket without checking the details — they might end up awarding a prize to someone who shouldn’t have it at all! 🏆 The SQL injection vulnerability exists because the delete_ticket.php file does not properly sanitize the input from the id parameter, allowing attackers to execute arbitrary SQL commands against the database.

What to do

An attacker could exploit this weakness to manipulate the database, leading to unauthorized data access, loss, or even allowing them to delete critical raffle entries. This could turn a fun event into a complete disaster, damaging not only the reputation of the system but also potentially leading to financial loss! ⚡️ To mitigate this risk, immediately update the application to a patched version. Sanitize and validate all user inputs, particularly in the delete_ticket.php file, and employ prepared statements to strengthen database queries. 🛡️ You've got this! Fixing it is just a few steps away. Let's secure that raffle system together! ✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00890 · 59.0th percentile
Published
2023-02-06T00:00Z
EPSS history
Timeline
  • 06 FEB 00:00Z
    Raffle Draw System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at delete_ticket.php
    cvelistv5