CVE-2024-30162 File upload in n/a
Admin users can upload malicious ZIP files to execute arbitrary PHP code on the server due to insufficient validation in the editor toolbar module.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-30162?
CVE-2024-30162 is a high-severity vulnerability in n/a, published on 7 Jun 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Invision Community through 4.7.16 allows remote code execution via the applications/core/modules/admin/editor/toolbar.php IPS\core\modules\admin\editor\_toolbar::addPlugin() method. This method handles uploaded ZIP files that are extracted into the applications/core/interface/ckeditor/ckeditor/plugins/ directory without properly verifying their content. This can be exploited by admin users (with the toolbar_manage permission) to write arbitrary PHP files into that directory, leading to execution of arbitrary PHP code in the context of the web server user.
Weakness: CWE-345
Which versions are affected by CVE-2024-30162?
How do I fix CVE-2024-30162?
No fix has been published for CVE-2024-30162 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-30162 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-30162 exists.
Sources
Also known as GHSA-hccj-9v6g-qxjv.