CVE-2024-40540

my-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/dept

Medium · published July 12, 2024

CVSS v3.1
6.2
EPSS
0%
Percentile
38.6
In the wild
Unconfirmed
What it is

⚠️ A crafty SQL injection lurks in my-springsecurity-plus's dataScope parameter — it’s like an unlocked menu leading to the chef’s secrets! Think of it as a restaurant where the waiter doesn’t check the orders before sending them to the kitchen; any request could modify the meal, leading to unexpected and unwanted changes! An attacker could exploit this vulnerability to manipulate database queries, potentially exposing sensitive information or even altering data. While it’s not a full-blown breach, it could still cause significant headaches!

Put simply

Think of it as a restaurant where the waiter doesn’t check the orders before sending them to the kitchen; any request could modify the meal, leading to unexpected and unwanted changes! This SQL injection vulnerability allows attackers to insert malicious SQL code via the dataScope parameter in API requests, compromising the integrity of the database operations.

What to do

An attacker could exploit this vulnerability to manipulate database queries, potentially exposing sensitive information or even altering data. While it’s not a full-blown breach, it could still cause significant headaches! Upgrade my-springsecurity-plus to version 2024.07.03 or later immediately. Review your API code to ensure proper input validation and parameterized queries to mitigate injection risks. You've got this! With a quick update and some diligence, you'll have your application secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00456 · 38.6th percentile
Published
2024-07-12T00:00Z
EPSS history
Timeline
  • 12 JUL 00:00Z
    my-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/dept
    cvelistv5