CVE-2024-36568

Sourcecodester Gas Agency Management System v1.0 is vulnerable to SQL Injection via /gasmark/editbrand.php?id=

Critical · published June 3, 2024

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

🚨 SQL Injection alert! A single parameter in the Gas Agency Management System could spell disaster, letting attackers wreak havoc with just a simple URL modification! 🔥 Think of it like a restaurant's menu that lets diners change the price of any dish just by writing a new number in pencil — that unverified change opens the door for all sorts of mischief! An attacker could exploit this vulnerability to manipulate the database, leading to unauthorized data access, modification, or even deletion. The consequences could be absolutely devastating, impacting customer data and the integrity of the entire system!

Put simply

Think of it like a restaurant's menu that lets diners change the price of any dish just by writing a new number in pencil — that unverified change opens the door for all sorts of mischief! This vulnerability allows for SQL injection through the 'id' parameter in the /gasmark/editbrand.php endpoint, enabling attackers to execute arbitrary SQL queries against the database.

What to do

An attacker could exploit this vulnerability to manipulate the database, leading to unauthorized data access, modification, or even deletion. The consequences could be absolutely devastating, impacting customer data and the integrity of the entire system! Immediately patch the application to the latest version if available, and implement prepared statements and parameterized queries to prevent future SQL injections. Also, conduct a security audit of the existing codebase to identify other potential vulnerabilities! You've got this! With these steps, you can secure your system and keep your data safe! 🛡️

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.00510 · 42.7th percentile
Published
2024-06-03T13:25Z
EPSS history
Timeline
  • 03 JUN 13:25Z
    Sourcecodester Gas Agency Management System v1.0 is vulnerable to SQL Injection via /gasmark/editbrand.php?id=
    cvelistv5