CVE-2024-40541

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

Medium · published July 12, 2024

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

⚠️ A sneaky SQL injection lurks in the shadows! Before version 2024.07.03, my-springsecurity-plus allowed attackers to exploit the dataScope parameter at /api/dept/build. 🔍 Think of the dataScope parameter as a restaurant order — if the kitchen accepts any modification without checking, the wrong dish can end up on your table. This vulnerability lets an attacker manipulate queries just like a diner changing their order without proper oversight. If exploited, an attacker could craft malicious input that leads to unauthorized data access or manipulation, potentially exposing sensitive information. While it's not a catastrophic breach, the consequences could still be quite alarming for your data integrity.

Put simply

Think of the dataScope parameter as a restaurant order — if the kitchen accepts any modification without checking, the wrong dish can end up on your table. This vulnerability lets an attacker manipulate queries just like a diner changing their order without proper oversight. This SQL injection vulnerability allows unauthorized users to inject malicious SQL queries through the dataScope parameter, compromising the database operations associated with that endpoint.

What to do

If exploited, an attacker could craft malicious input that leads to unauthorized data access or manipulation, potentially exposing sensitive information. While it's not a catastrophic breach, the consequences could still be quite alarming for your data integrity. Upgrade my-springsecurity-plus to version 2024.07.03 or later to close this vulnerability. Additionally, review your API input validation practices to prevent similar vulnerabilities from arising in the future. You've got this! Fixing this vulnerability will help keep your application secure and your users happy. 🛡️

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.00431 · 36.3th 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/build
    cvelistv5