CVE-2024-46076 Code injection in n/a
Attackers can inject malicious code via the code generation feature by escaping comments, leading to remote code execution.
- 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-46076?
CVE-2024-46076 is a critical code injection vulnerability in Ruoyi Ruoyi, published on 7 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.
Weakness: CWE-94
Which versions are affected by CVE-2024-46076?
It affects 1 product.
Products include Ruoyi Ruoyi.
How do I fix CVE-2024-46076?
No fix has been published for CVE-2024-46076 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-46076 being exploited?
There is no known exploitation of CVE-2024-46076 in the wild and no public exploit code.
Other vulnerabilities in Ruoyi Ruoyi
Sources
Also known as GHSA-f2c3-h6fh-5x7q.