CVE-2024-7099CWE-89

SQL Injection in netease-youdao/qanything

Critical · published October 13, 2024

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

🔥 A SQL injection vulnerability in netease-youdao/qanything v1.4.1 allows attackers to exploit unsafe user input — like giving a toddler a crayon and saying, "go crazy on the wall!" 😱 Picture this: a restaurant that allows customers to write their own orders without checking what they actually ordered — an attacker could easily swap in something totally unexpected, like a bill for a thousand-dollar lobster! 🍽️ This vulnerability could lead to devastating consequences, with attackers executing arbitrary SQL queries and potentially gaining access to sensitive information stored in your database. Imagine losing customer data or proprietary secrets, all because of a tiny oversight in user input handling!

Put simply

Picture this: a restaurant that allows customers to write their own orders without checking what they actually ordered — an attacker could easily swap in something totally unexpected, like a bill for a thousand-dollar lobster! 🍽️ In netease-youdao/qanything v1.4.1, unsafe data from user input is concatenated directly into SQL queries, enabling SQL injection attacks through functions like `delete_files` and `get_file_by_status`. This flaw allows attackers to manipulate the database in harmful ways.

What to do

This vulnerability could lead to devastating consequences, with attackers executing arbitrary SQL queries and potentially gaining access to sensitive information stored in your database. Imagine losing customer data or proprietary secrets, all because of a tiny oversight in user input handling! To remediate this critical issue, you must upgrade to version 1.4.2 immediately. Additionally, implement prepared statements and parameterized queries to ensure user input is treated safely. Don't let this slip through the cracks! You’ve got this! Just follow these steps and you’ll be well on your way to securing your application! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00626 · 49.3th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-10-13T21:09Z
EPSS history
Timeline
  • 13 OCT 21:09Z
    SQL Injection in netease-youdao/qanything
    cvelistv5