CVE-2024-54762 SQL injection in n/a
An authenticated SQL injection vulnerability in RuoYi allows attackers to read or modify database contents due to insufficient keyword filtering.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-54762?
CVE-2024-54762 is a medium-severity SQL injection vulnerability in Ruoyi Ruoyi, published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Ruoyi v.4.7.9 and before contains an authenticated SQL injection vulnerability. This is because the filterKeyword method does not completely filter SQL injection keywords, resulting in the risk of SQL injection.
Weakness: CWE-89
Which versions are affected by CVE-2024-54762?
It affects 1 product.
Products include Ruoyi Ruoyi.
How do I fix CVE-2024-54762?
No fix has been published for CVE-2024-54762 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-54762 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54762 exists.
Other vulnerabilities in Ruoyi Ruoyi
Sources
Also known as GHSA-jffw-3h47-42r7.