CVE-2024-25247

SQL Injection vulnerability in /app/api/controller/Store.php in Niushop B2B2C V5 allows attackers to run arbitrary SQL commands via latitude and longitude…

Critical · published February 26, 2024

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

🚨 A sneaky SQL injection lives in Niushop B2B2C V5's Store.php! All it takes is latitude and longitude parameters for attackers to run arbitrary SQL commands! 🔥 Think of it like a restaurant's order system that mistakenly takes in any dish name, even if it's not on the menu. An attacker can sneak in their own menu items, leading to some pretty disastrous and unapproved meals being whipped up in the kitchen! With this vulnerability, an attacker could access, modify, or delete any data they choose in the database—potentially bringing a thriving online store to its knees. This could result in lost customer data, corrupted databases, or even complete takeover of the application. Talk about a recipe for disaster!

Put simply

Think of it like a restaurant's order system that mistakenly takes in any dish name, even if it's not on the menu. An attacker can sneak in their own menu items, leading to some pretty disastrous and unapproved meals being whipped up in the kitchen! The SQL Injection in /app/api/controller/Store.php allows attackers to exploit the latitude and longitude parameters to execute arbitrary SQL commands. This flaw arises from insufficient sanitization of user inputs, enabling unauthorized database queries.

What to do

With this vulnerability, an attacker could access, modify, or delete any data they choose in the database—potentially bringing a thriving online store to its knees. This could result in lost customer data, corrupted databases, or even complete takeover of the application. Talk about a recipe for disaster! Immediate action is essential: patch your Niushop installation to the latest version that addresses this vulnerability. Implement parameterized queries to protect against SQL injection and conduct a thorough review of your application's input validation practices. Don't delay—lock it down now! You've got this! Follow these steps, and you'll be a security hero in no time! 🦸‍♂️

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.00628 · 49.5th percentile
Published
2024-02-26T00:00Z
EPSS history
Timeline
  • 26 FEB 00:00Z
    SQL Injection vulnerability in /app/api/controller/Store.php in Niushop B2B2C V5 allows attackers to run arbitrary SQL commands via latitude and longitude…
    cvelistv5