CVE-2024-7094 Code injection in JS Help Desk – AI-Powered Support & Ticketing System
Unauthenticated attackers can execute arbitrary PHP code on the server via the JS Help Desk WordPress plugin due to insufficient input sanitization.
- 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-7094?
CVE-2024-7094 is a critical code injection vulnerability in rabilal JS Help Desk – AI-Powered Support & Ticketing System, published on 13 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The JS Help Desk – The Ultimate Help Desk & Support Plugin plugin for WordPress is vulnerable to PHP Code Injection leading to Remote Code Execution in all versions up to, and including, 2.8.6 via the 'storeTheme' function. This is due to a lack of sanitization on user-supplied values, which replace values in the style.php file, along with missing capability checks. This makes it possible for unauthenticated attackers to execute code on the server. This issue was partially patched in 2.8.6 when the code injection issue was resolved, and fully patched in 2.8.7 when the missing authorization and cross-site request forgery protection was added. CVE-2024-43274 is likely a duplicate of this issue.
Weakness: CWE-94
Which versions are affected by CVE-2024-7094?
How do I fix CVE-2024-7094?
No fix has been published for CVE-2024-7094 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-7094 being exploited?
There is no known exploitation of CVE-2024-7094 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-344g-jvx4-773r.