CVE-2026-130805 — Trainingbusinesspros Groundhogg — AI CRM, Newsle — CWE-352
The Groundhogg plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.11 This is due to the Admin_Page::page() callback dispatching methods named directly by the $_REQUEST['action'] parameter via call_user_func([$this, $action]) without verifying a nonce: the only nonce check lives in process_action() (admin_init), which prefixes the action with 'process_' before dispatching, so an attacker who supplies action=process_delete causes process_action() to look up the nonexistent 'process_process_delete' method and bail without ever calling wp_verify_nonce(), while page() subsequently invokes the real process_delete() (and other process_* methods such as process_spam, process_status_change, process_edit) with no CSRF token of its own. This makes it possible for unauthenticated attackers to delete arbitrary contacts, change contact opt-in status (including marking contacts as spam, which also appends their IP to the site-wide disallowed_keys option), and perform other state-changing actions via a forged request granted they can trick a site administrator (or any user holding the relevant Groundhogg capability such as delete_contacts/edit_contacts) into performing an action such as clicking on a link.
The Groundhogg plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 4.11 This is due to the Admin_Page::page() callback dispatching methods named directly by the $_REQUEST['action'] parameter via call_user_func([$this, $action]) without verifying a nonce: the only nonce check lives in process_action() (admin_init), which prefixes the action with 'process_' before dispatching, so an attacker who supplies action=process_delete causes process_action() to look up the nonexistent 'process_process_delete' method and bail without ever calling wp_verify_nonce(), while page() subsequently invokes the real process_delete() (and other process_* methods such as process_spam, process_status_change, process_edit) with no CSRF token of its own. This makes it possible for unauthenticated attackers to delete arbitrary contacts, change contact opt-in status (including marking contacts as spam, which also appends their IP to the site-wide disallowed_keys option), and perform other state-changing actions via a forged request granted they can trick a site administrator (or any user holding the relevant Groundhogg capability such as delete_contacts/edit_contacts) into performing an action such as clicking on a link.
🎯 What is this vulnerability?
Groundhogg WordPress plugin – CSRF via improper action dispatch (CWE‑352)
The plugin’s Admin_Page::page() method dispatches a callable based on the raw $_REQUEST['action'] value:
$action = $_REQUEST['action']; // e.g. "process_delete"
call_user_func( [ $this, $action ], $request );The only place a nonce is checked is in process_action() (hooked to admin_init):
$action = 'process_' . $_REQUEST['action']; // prefixes the action
if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], $action ) ) {
return; // bail
}
call_user_func( [ $this, $action ], $request );Because process_action() prefixes the action before verifying the nonce, an attacker can supply an action that does not exist in the prefixed form (e.g. action=process_delete). process_action() will look for a method named process_process_delete, not find it, and return without calling wp_verify_nonce(). The original page() method is then invoked with the un‑prefixed action (process_delete), which does not perform any nonce check.
Thus, any user who has the Groundhogg capability to execute the action (e.g. delete_contacts, edit_contacts) can be tricked into sending a forged request that changes state without authentication. The flaw is a classic Cross‑Site Request Forgery (CSRF) that bypasses the nonce guard due to a logic error in the action‑dispatching code.
⚡ Attack Chain
1. Discovery & Reconnaissance
| Step | Technique | What to look for |
|---|---|---|
| a. Identify plugin | Browse the site’s admin area or inspect the source. | /wp-admin/admin.php?page=groundhogg or /wp-content/plugins/groundhogg/readme.txt |
| b. Determine version | View the plugin’s readme or the plugin’s header in groundhogg.php. | Version: 4.11 (or any ≤ 4.11) |
| c. Verify capability | Check the user’s role or use the “Current User” plugin to confirm the user has delete_contacts or edit_contacts. | Admin or any user with Groundhogg capabilities |
2. Exploitation
The attacker crafts a request that forces the plugin to execute a state‑changing method without a nonce. The exact endpoint is/wp-admin/admin.php?page=groundhogg. The action parameter is set to a prefixed action that does not exist, e.g. process_delete.Illustrative PoC (curl) – this example assumes the target user is logged in and has the required capability:
# 1. Obtain a valid session cookie (replace USERNAME/PASSWORD with real credentials)
curl -c cookie.txt -d "log=USERNAME&pwd=PASSWORD&wp-submit=Log+In&redirect_to=%2Fwp-admin%2F&testcookie=1" \
-X POST https://victim.com/wp-login.php
# 2. Send the forged request
curl -b cookie.txt -X POST \
-d "action=process_delete&_wpnonce=FAKE" \
https://victim.com/wp-admin/admin.php?page=groundhoggExplanation of the payload
action=process_delete– the real action that will be executed bypage()._wpnonce=FAKE– any value; the nonce is never verified becauseprocess_action()bails out before callingwp_verify_nonce().- The request is sent as a POST (GET would also work, but POST is typical for state changes).
- Marketing disruption – loss of contact lists and opt‑in data.
- Regulatory risk – unauthorized deletion or alteration of user data may violate GDPR, CCPA, etc.
- Operational impact – spam list manipulation can cause legitimate traffic to be blocked, affecting site performance.
- Reputational damage – customers may lose trust if their data is tampered with.
Result – The plugin will delete the contact whose ID is supplied in the request (e.g. contact_id=123). The response will be a redirect or a success message, but the contact is removed from the database.
3. Post‑Exploitation
Once the attacker can delete or modify contacts, they can:| Action | Impact |
|---|---|
| Delete arbitrary contacts | Loss of data integrity, potential loss of marketing lists |
| Mark contacts as spam | IP addresses are appended to the global disallowed_keys option, potentially blocking legitimate traffic |
| Change opt‑in status | Alters user consent, violating privacy regulations |
Trigger other process_* methods (e.g., process_status_change, process_edit) | Full control over contact data |
Because the vulnerability is purely CSRF, it does not provide remote code execution or privilege escalation beyond the capabilities of the logged‑in user. However, the ability to delete or alter contacts can be leveraged for phishing, data exfiltration, or to sabotage marketing campaigns.
🌍 Real World Impact
| CVSS Component | Value | Interpretation |
|---|---|---|
| Attack Vector (AV) | Network (N) | Attacker can send the request over the internet. |
| Attack Complexity (AC) | Low (L) | No special conditions; a simple crafted request suffices. |
| Privileges Required (PR) | None (N) | The attacker does not need to be authenticated; they only need a user with the Groundhogg capability. |
| User Interaction (UI) | Required (R) | The victim must click a link or submit a form. |
| Scope (S) | Unchanged (U) | The vulnerability does not affect resources beyond the plugin. |
| Confidentiality (C) | None (N) | No data is disclosed. |
| Integrity (I) | High (H) | Arbitrary data modification (deletion, status change). |
| Availability (A) | High (H) | Deletion of contacts or blocking of legitimate IPs can disrupt services. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected | Fixed |
|---|---|
| Groundhogg ≤ 4.11 | Upgrade to 4.12 or later (the patch adds a nonce check to page() and sanitises the action dispatch). |
Action – Run wp plugin update groundhogg or download the latest release from the WordPress plugin repository.
2. Workarounds (if patch cannot be applied immediately)
| Mitigation | How to implement |
|---|---|
| Disable the plugin | wp plugin deactivate groundhogg or remove the plugin directory. |
| Restrict capabilities | Use a role‑management plugin to remove delete_contacts/edit_contacts from all users except trusted admins. |
| Add a nonce check manually | Create a small custom plugin that hooks into admin_init and enforces wp_verify_nonce() for all groundhogg actions. |
| WAF / ModSecurity rule | Block requests to /wp-admin/admin.php?page=groundhogg where action starts with process_ and _wpnonce is missing or invalid. Example rule:
SecRule REQUEST_URI "@beginsWith /wp-admin/admin.php" \
"chain,phase:2,block,msg:'Groundhogg CSRF protection'"
SecRule REQUEST_URI "@contains page=groundhogg" \
"chain"
SecRule REQUEST_HEADERS:Content-Type "@rx ^application/x-www-form-urlencoded$" \
"chain"
SecRule REQUEST_HEADERS:Content-Type "@rx ^multipart/form-data$" \
"chain"
SecRule REQUEST_URI "@rx action=process_" \
"chain"
SecRule REQUEST_URI "@rx _wpnonce=([a-z0-9]{10,})" \
"t:none,allow,phase:2"Note: The rule above is illustrative; adjust the regexes to match your environment.
3. Detection
| Indicator | Log pattern | How to search | |
|---|---|---|---|
| Forged action requests | GET | POST /wp-admin/admin.php?page=groundhogg&action=process_delete | grep -i "page=groundhogg" /var/log/apache2/access.log |
| Missing nonce | Requests where _wpnonce is absent or equals FAKE | grep -i "_wpnonce=" /var/log/apache2/access.log | grep -v "wpnonce" |
| Unusual contact deletions | Database logs showing DELETE FROM wp_groundhogg_contacts | Monitor MySQL slow‑query log or use a plugin like WP‑Security Audit Log |
IoC – The combination of page=groundhogg + action=process_ + missing/invalid _wpnonce is a strong indicator of exploitation attempts.
⚠️ Urgency
Recommendation:
Treat this as a critical patching priority.
Failing to remediate promptly exposes the site to data loss, regulatory non‑compliance, and potential reputational harm.
[🤖 CVE Professor AI Security Engine]
FOFA Query