CVE-2021-46024

Projectworlds online-shopping-webvsite-in-php 1.0 suffers from a SQL Injection vulnerability via the "id" parameter in cart_add.php, No login is required

published January 23, 2022

CVSS
โ€”
EPSS
1%
Percentile
61.5
In the wild
Unconfirmed
What it is

๐Ÿšจ A sneaky SQL injection is hiding in plain sight! This vulnerability in Projectworlds online-shopping-website-in-php 1.0 lets attackers manipulate the "id" parameter without any authentication required! ๐Ÿ”ฅ Imagine a cashier accepting any random product ID that a customer suggests without checking the inventory โ€” that's how easy it is for an attacker to slip through and access sensitive data! With this SQL injection vulnerability, an attacker could easily gain unauthorized access to your database, allowing them to extract, modify, or even delete customer information! This could lead to identity theft, financial loss, and a total breach of trust with your customers โ€” absolutely devastating!

Put simply

Imagine a cashier accepting any random product ID that a customer suggests without checking the inventory โ€” that's how easy it is for an attacker to slip through and access sensitive data! The vulnerability exists in cart_add.php, where the "id" parameter is not properly sanitized. This oversight allows attackers to execute arbitrary SQL queries against the database, potentially compromising its integrity.

What to do

With this SQL injection vulnerability, an attacker could easily gain unauthorized access to your database, allowing them to extract, modify, or even delete customer information! This could lead to identity theft, financial loss, and a total breach of trust with your customers โ€” absolutely devastating! To protect your application, sanitize and validate all user inputs, especially the "id" parameter. Implement prepared statements to prevent SQL injection and consider updating to a patched version if available! You can tackle this! Follow these steps, and you'll fortify your defenses in no time. ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00968 ยท 61.5th percentile
Published
2022-01-23T16:18Z
EPSS history
Timeline
  • 23 JAN 16:18Z
    Projectworlds online-shopping-webvsite-in-php 1.0 suffers from a SQL Injection vulnerability via the "id" parameter in cart_add.php, No login is required
    cvelistv5