Vulnerabilities · 2024 · Ruoyi
CVE-2024-57521
Ruoyi vulnerability
SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ruoyi. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruoyi runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5 · Patch
- github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md · Exploit
- github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC · Exploit
- gitee.com/y_project/RuoYi/issues/IBC976
- nvd.nist.gov/vuln/detail/CVE-2024-57521
- cve.org/CVERecord?id=CVE-2024-57521
More vulnerabilities in Ruoyi products
CVE-2025-70986CVE-2025-70985CVE-2025-67342CVE-2025-56396CVE-2025-46175CVE-2025-46174CVE-2025-28413CVE-2025-28412All 59
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.