CVE-2024-7099 SQL Injection in netease-youdao/qanything
An attacker can execute arbitrary SQL queries to steal database information from the QAnything knowledge base application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-7099?
CVE-2024-7099 is a critical SQL injection vulnerability in netease-youdao/qanything, published on 13 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
netease-youdao/qanything version 1.4.1 contains a vulnerability where unsafe data obtained from user input is concatenated in SQL queries, leading to SQL injection. The affected functions include `get_knowledge_base_name`, `from_status_to_status`, `delete_files`, and `get_file_by_status`. An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially stealing information from the database. The issue is fixed in version 1.4.2.
Weakness: CWE-89
Which versions are affected by CVE-2024-7099?
It affects 1 product.
Products include Qanything Qanything.
How do I fix CVE-2024-7099?
No fix has been published for CVE-2024-7099 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-7099 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7099 exists.
Other vulnerabilities in netease-youdao/qanything
Sources
Also known as GHSA-vqmq-g46j-863w.