CyberRota Analysis
AI-GeneratedThe Groundhogg plugin for WordPress is vulnerable to Insecure Direct Object Reference, allowing authenticated attackers with limited permissions to access any contact record via the REST API endpoint. This flaw can expose sensitive personal information and administrative details, posing a risk to user privacy and data integrity. WordPress site administrators using the Groundhogg plugin should prioritize patching this vulnerability to protect against unauthorized data access.
Original NVD Description
The Groundhogg — CRM, Newsletters, and Marketing Automation plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.5.2 via the GET /wp-json/gh/v4/contacts/<id> REST endpoint. The endpoint's permission callback checks only the role-level view_contacts capability and read_single() returns the full contact record by sequential integer ID without the object-level view_contact ownership check applied elsewhere in the codebase. This makes it possible for authenticated attackers holding view_contacts but not view_others_contacts — notably Groundhogg's built-in Sales Rep role, designed to see only its own contacts — to read any contact record on the site, including PII, contact meta, owner IDs, the admin edit URL, and (for contacts linked to a WordPress user) that user's full capability set.