WordPress Hunk Companion Plugin Flaw Exploited to Silently Install Vulnerable Plugins
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2024-11205 | The WPForms plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'wpforms_is_admin_page' function in The WPForms plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'wpforms_is_admin_page' function in versions starting from 1.8.4 up to, and including, 1.9.2.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to refund payments and cancel subscriptions. NVD description · AI analysis pending | 6.5 | <1% |
| — | ||
| CVE-2024-11972 | Missing Authorization in Hunk Companion Plugin Allows Unauthenticated Plugin Install The Hunk Companion plugin for WordPress (versions before 1.9.0) fails to properly authorize several REST API endpoints, allowing unauthenticated attackers to send crafted requests that install and activate arbitrary plugins from the WordPress.org repository. Because attackers can select plugins that are old, closed, or known to be vulnerable, the flaw can be chained into full site compromise by first staging a vulnerable plugin and then exploiting it. Any WordPress site running a Hunk Companion version prior to 1.9.0 is affected, with no privileges or user interaction required on the attacker's part (CVSS 9.8). The vulnerability is being actively exploited in the wild: Wordfence reported blocking millions of attack attempts targeting Hunk Companion and the related GutenKit flaws, and it carries a high EPSS score of 54.5%. Do: Update Hunk Companion to version 1.9.0 or later immediately. After patching, audit the plugin list for unexpectedly installed or activated plugins — especially old, closed, or known-vulnerable ones added without administrator action — and review access logs for unauthenticated requests to the REST endpoints; if updating is not yet possible, restrict unauthenticated access to the plugin's REST routes via a firewall or WAF rule. | 9.8 | 54% | PoC |
| largeon the order of 100,000+ WordPress sites (Hunk Companion ships as the companion plugin for ThemeHunk themes and Wordfence blocked ~8.7M combined attack… | |
| CVE-2024-50498 | Unauthenticated Code Injection in WordPress WP Query Console Plugin CVE-2024-50498 is an improper control of code generation (CWE-94) flaw in the WP Query Console WordPress plugin by Ajit Bohra/LUBUS, allowing remote code injection. According to the CVSS vector, it is exploitable over the network with low complexity, no privileges and no user interaction, meaning an unauthenticated attacker can trigger it by sending a crafted request to an affected site. Successful exploitation yields full remote code execution impact (high confidentiality, integrity and availability), letting the attacker run arbitrary code on the WordPress host. Any WordPress site running WP Query Console version 1.0 or earlier is affected. No public proof-of-concept or confirmed in-the-wild exploitation is known, though its EPSS score is high (~53% chance of exploitation within 30 days) and related reporting describes attackers chaining WordPress plugin flaws (e.g., the Hunk Companion issue) to silently install vulnerable plugins, which could bring this plugin onto otherwise unaffected sites. Do: Update WP Query Console to a version newer than 1.0 (the latest patched release) or deactivate and delete the plugin if it is not actively needed, since it is a developer tool rarely required in production. Internet-facing WordPress sites should be prioritized given the critical severity and high EPSS score. Check whether the related Hunk Companion plugin flaw was used to silently install WP Query Console or other vulnerable plugins on your sites. | 9.8 | 53% |
| nichelikely low hundreds of sites (niche, recently released developer-tool plugin; no public active-install count in the data) |
Indicators of compromiseauto-extracted · verify before use · export allAll →
| Type | Indicator | Context |
|---|---|---|
| ipv4 | 1.9.2.1 | ability, which affects versions 1.8.4 up to, and including, 1.9.2.1, has been resolved in versions 1.9.2.2 or later. The plugin |
| ipv4 | 1.9.2.2 | p to, and including, 1.9.2.1, has been resolved in versions 1.9.2.2 or later. The plugin is installed on over 6 million WordPre |
Full article426 words · extracted from thehackernews.com · click to collapse
Ravie LakshmananDec 12, 2024Website Security / Vulnerability
Malicious actors are exploiting a critical vulnerability in the Hunk Companion plugin for WordPress to install other vulnerable plugins that could open the door to a variety of attacks.
The flaw, tracked as CVE-2024-11972 (CVSS score: 9.8), affects all versions of the plugin prior to 1.9.0. The plugin has over 10,000 active installations.
"This flaw poses a significant security risk, as it enables attackers to install vulnerable or closed plugins, which can then be exploited for attacks such as Remote Code Execution (RCE), SQL Injection, Cross‑Site Scripting (XSS), or even the creation of administrative backdoors," WPScan said in a report.
To make matters worse, attackers could leverage outdated or abandoned plugins to circumvent security measures, tamper with database records, execute malicious scripts, and seize control of the sites.
WPScan said it uncovered the security defect when analyzing an infection on an unspecified WordPress site, finding that threat actors were weaponizing it to install a now-closed plugin called WP Query Console, and subsequently leveraging an RCE bug in the installed plugin to to execute malicious PHP code.
It's worth noting that the zero-day RCE flaw in the WP Query Console, tracked as CVE-2024-50498 (CVSS score: 10.0), remains unpatched.
CVE-2024-11972 is also a patch bypass for CVE‑2024‑9707 (CVSS score: 9.8), a similar vulnerability in Hunk Companion that could enable the installation or activation of unauthorized plugins. This shortcoming was addressed in version 1.8.5.
At its core, it stems from a bug in the script "hunk‑companion/import/app/app.php" that allows unauthenticated requests to bypass checks put in place for verifying if the current user has permission to install plugins.
"What makes this attack particularly dangerous is its combination of factors -- leveraging a previously patched vulnerability in Hunk Companion to install a now‑removed plugin with a known Remote Code Execution flaw," WPScan's Daniel Rodriguez noted.
"The chain of exploitation underscores the importance of securing every component of a WordPress site, especially third‑party themes and plugins, which can become critical points of entry for attackers."
The development comes as Wordfence disclosed a high-severity flaw in the WPForms plugin (CVE-2024-11205, CVSS score: 8.5) that makes it possible for authenticated attackers, with Subscriber-level access and above, to refund Stripe payments and cancel subscriptions.
The vulnerability, which affects versions 1.8.4 up to, and including, 1.9.2.1, has been resolved in versions 1.9.2.2 or later. The plugin is installed on over 6 million WordPress sites.
Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.
Text extracted automatically; images, tables and formatting may be missing. Original: https://thehackernews.com/2024/12/wordpress-hunk-companion-plugin-flaw.html