CVE-2024-9707
Published: 11 October 2024
Summary
CVE-2024-9707 is a critical-severity Missing Authorization (CWE-862) vulnerability in Themehunk Hunk Companion. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Hunk Companion plugin for WordPress is vulnerable to unauthorized plugin installation and activation in all versions through 1.8.4. The flaw stems from a missing capability check on the /wp-json/hc/v1/themehunk-import REST API endpoint, which permits unauthenticated access and is tracked as CWE-862. The issue carries a CVSS 3.1 score of 9.8.
Unauthenticated attackers can exploit the endpoint over the network to install and activate arbitrary plugins. Successful exploitation can lead to remote code execution when a second vulnerable plugin is also present on the site.
References point to a WordPress.org changeset that addresses the endpoint and to Wordfence analysis of the same issue. Site owners should apply the available plugin update to close the exposure.
The associated EPSS score currently stands at 0.9028 with a recorded peak of 0.9030.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-50100
Vulnerability details
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…
more
install and activate arbitrary plugins which can be leveraged to achieve remote code execution if another vulnerable plugin is installed and activated.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring an access control policy ensures authorization checks are defined and applied for critical functions.
Reviews of access controls detect missing authorization checks on critical functions or resources.
Documenting permitted unauthenticated actions prevents missing authorization by making all exceptions explicit and subject to organizational review.
Requiring attribute association with information prevents authorization from being performed without necessary security or privacy context.
Mandating authorization prior to allowing remote connections addresses missing authorization for remote access.
Mandating authorization before wireless connections are allowed prevents missing authorization for wireless access.
The control requires authorization before allowing mobile device connections, directly mitigating missing authorization for system access.
Requiring approvals for account creation and specifying authorizations ensures authorization is not missing for system access.