CVE-2020-16165

The DAO/DTO implementation in SpringBlade through 2.7.1 allows SQL Injection in an ORDER BY clause

published July 30, 2020

CVSS
—
EPSS
1%
Percentile
68.3
In the wild
Unconfirmed
What it is

🚨 A simple tweak to an ORDER BY clause could open the floodgates for SQL injection in SpringBlade! Think of it like a restaurant that lets patrons adjust the menu items without any checks – just because they asked for a "fancier dish" – and suddenly, they end up cooking something entirely different! 🍽️ An attacker could exploit this vulnerability to run malicious SQL commands, potentially gaining unauthorized access to sensitive data or altering the database. This could lead to data leakage, unauthorized changes, or even a complete database wipe – a developer’s worst nightmare! 😱

Put simply

Think of it like a restaurant that lets patrons adjust the menu items without any checks – just because they asked for a "fancier dish" – and suddenly, they end up cooking something entirely different! 🍽️ The DAO/DTO implementation in SpringBlade versions up to 2.7.1 allows attackers to inject SQL commands through the 'ascs' and 'desc' parameters in the ORDER BY clause of requests made to the /api/blade-log/api/list endpoint.

What to do

An attacker could exploit this vulnerability to run malicious SQL commands, potentially gaining unauthorized access to sensitive data or altering the database. This could lead to data leakage, unauthorized changes, or even a complete database wipe – a developer’s worst nightmare! 😱 To mitigate this vulnerability, it’s essential to update SpringBlade to the latest version where this issue has been resolved. Review your SQL queries to use parameterized statements, ensuring that user input is not directly executed. You’ve got this! By keeping your software up to date and following best practices, you’ll keep your applications secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01213 · 68.3th percentile
Published
2020-07-30T19:01Z
EPSS history
Timeline
  • 30 JUL 19:01Z
    The DAO/DTO implementation in SpringBlade through 2.7.1 allows SQL Injection in an ORDER BY clause
    cvelistv5