Groundhogg — CRM, Newsletters, and Marketing Automation <= 4.5.2 - Insecure Direct Object Reference
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- trainingbusinesspros Groundhogg — CRM, Newsletters, and Marketing Automation
through 4.5.2
References 9
plugins.trac.wordpress.org
- browser/groundhogg/tags/4.5.2/api/v4/contacts-api.php#L426
- browser/groundhogg/tags/4.5.2/api/v4/contacts-api.php#L946
- browser/groundhogg/tags/4.5.2/api/v4/base-object-api.php#L124
- browser/groundhogg/tags/4.5.2/includes/main-roles.php#L163
- browser/groundhogg/tags/4.5.2/includes/main-roles.php#L374
- browser/groundhogg/tags/4.5.2/includes/main-roles.php#L43
- changeset?new=3569222%40groundhogg%2Ftags%2F4.5.3&old=3562726%40groundhogg%2Ftags%2F4.5.2
- browser/groundhogg/tags/4.5.3/api/v4/contacts-api.php#L437