Security Resilience

CVE-2024-9707

Access Control in Themehunk Hunk Companion ≤ 1.8.5

Published
11 October 2024
Modified
25 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.091 95th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

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 5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CVEs Like This One

CVE-2025-30990Same vendor: Themehunk
CVE-2024-8434Same vendor: Themehunk
CVE-2025-30881Same vendor: Themehunk
CVE-2024-10533Shared CWE-862
CVE-2025-31757Shared CWE-862
CVE-2025-41338Shared CWE-862
CVE-2024-50459Shared CWE-862
CVE-2025-23930Shared CWE-862
CVE-2024-54466Shared CWE-862
CVE-2025-4179Shared CWE-862

Affected Assets

themehunk
hunk companion
≤ 1.8.5

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

AC-3 directly requires enforcement of authorization decisions on every access request, structurally eliminating missing authorization checks.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

AC-6 reduces the set of actions reachable without proper authorization, limiting blast radius of missing checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.5.18's provisioning, review, revocation and activation steps (incl. owner approval, SoD, timely removal on role/termination change) directly stop exploitation of missing authorization checks by ensuring no actor receives or retains rights to resources they should not access; the bounded remainder is that it cannot stop missing-authorization defects inside the enforcement mechanism itself once rights have been granted (e.g. flawed code that ignores the rights table).

blocks

A.8.3 directly mandates restricting access to information per policies via configuration, identity/group controls, isolation, and dynamic techniques that enforce authorization decisions, which squarely stops exploitation of missing authorization (CWE-862); the bounded remainder is non-access mechanisms such as path traversal or CSRF that are outside its scope per the AC-3/A01:2025 anchor.

blocks

Requiring formal authorization of every access request before rights are granted ensures that checks for required permissions are performed, preventing missing authorization checks from being introduced.

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

blocks

Requiring evidence of minimum security capabilities and acceptance testing ensures that missing or bypassed authorization checks are detected before the delivered software is accepted.

finds

Mandating read-only access or proxy execution by an authorized administrator ensures every requested operation is explicitly authorized before it occurs.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-862, a class-level weakness, and none of its children carries one either.

References