CVE-2024-9707 Hunk Companion <= 1.8.4 - Missing Authorization to Unauthenticated Arbitrary Plugin Installation/Activation

Critical 9.8 Published Updated

Unauthenticated attackers can install and activate arbitrary plugins via a missing capability check, potentially 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-9707?

CVE-2024-9707 is a critical missing authorization vulnerability in themehunk Hunk Companion, published on 11 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Hunk Companion plugin for WordPress is vulnerable to unauthorized plugin installation/activation due to a missing capability check on the /wp-json/hc/v1/themehunk-import REST API endpoint in all versions up to, and including, 1.8.4. This makes it possible for unauthenticated attackers to install and activate arbitrary plugins which can be leveraged to achieve remote code execution if another vulnerable plugin is installed and activated.

Weakness: CWE-862

Which versions are affected by CVE-2024-9707?

It affects 1 product.

Products include Themehunk Hunk Companion.

How do I fix CVE-2024-9707?

No fix has been published for CVE-2024-9707 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-9707 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9707 exists.

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-8cm3-4qfx-pwvc.

Is CVE-2024-9707 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free