CVE-2024-9707

CRITICAL EXPLOITED NUCLEI

Hunk Companion <= 1.8.4 - Unauthenticated Arbitrary Plugin Installation and Activation via REST API

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2024-9707 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 4 public exploits from researchers including iSee857, RandomRobbieBF, Boshe99. A Nuclei detection template is also available.

AI-analyzed exploit summary The repository contains functional exploit code for CVE-2024-9707, demonstrating a command execution vulnerability in OpenCode. The script includes a multi-threaded scanner that checks for the vulnerability by creating a session and executing a command (e.g., 'id') to verify RCE.

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.

Exploits (4)

github WORKING POC 40 stars
by iSee857 · pythonpoc
https://github.com/iSee857/CVE-PoC/tree/main/WordPress_Hunk_Companion(CVE-2024-9707).py

The repository contains functional exploit code for CVE-2024-9707, demonstrating a command execution vulnerability in OpenCode. The script includes a multi-threaded scanner that checks for the vulnerability by creating a session and executing a command (e.g., 'id') to verify RCE.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenCode (version not specified)
No auth needed
Prerequisites: Network access to the target · OpenCode service running
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC 1 stars
by RandomRobbieBF · remote
https://github.com/RandomRobbieBF/CVE-2024-9707

This PoC demonstrates an unauthenticated arbitrary plugin installation/activation vulnerability in Hunk Companion <= 1.8.4 via a missing capability check on the /wp-json/hc/v1/themehunk-import REST API endpoint. The provided HTTP request can be used to install and activate arbitrary plugins, potentially leading to remote code execution if a vulnerable plugin is installed.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Hunk Companion WordPress plugin <= 1.8.4
No auth needed
Prerequisites: Access to the target WordPress site's REST API endpoint · Network connectivity to the target site
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC
by Boshe99 · pythonpoc
https://github.com/Boshe99/CVE-Exploits/tree/main/CVE-2024-9707-Poc

The repository contains functional exploit code for CVE-2024-9707, targeting a WordPress plugin (3DPrint Lite 1.9.1.4) with an arbitrary file upload vulnerability. The Python script demonstrates the ability to upload a malicious file to a vulnerable target.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WordPress Plugin 3DPrint Lite 1.9.1.4
No auth needed
Prerequisites: target URL · path to a file to upload
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC
by Nxploited · remote
https://github.com/Nxploited/CVE-2024-9707-Poc

This PoC exploits CVE-2024-9707, a missing authorization vulnerability in the WordPress Hunk Companion plugin (<= 1.8.4), allowing unauthenticated arbitrary plugin installation/activation via the REST API endpoint /wp-json/hc/v1/themehunk-import.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: WordPress Hunk Companion plugin <= 1.8.4
No auth needed
Prerequisites: Python 3.x · requests library · target WordPress site with vulnerable Hunk Companion plugin
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Hunk Companion <= 1.8.4 - Arbitrary Plugin Installation
CRITICALVERIFIEDby DhiyaneshDK
FOFA: body="/wp-content/plugins/hunk-companion/"

Scores

CVSS v3 9.8
EPSS 0.0914
EPSS Percentile 94.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

VulnCheck KEV 2024-10-11
CWE
CWE-862
Status published
Products (2)
themehunk/Hunk Companion < 1.8.4
themehunk/hunk_companion < 1.8.5
Published Oct 11, 2024
Tracked Since Feb 18, 2026