WordCamp Meta gpre: password-protected event RSVP list readable without password via /gpre/v1/.../rsvp-responses
A custom REST wrapper for recurring GatherPress events exposed the RSVP attendee list of password-protected events without requiring the event password, while the core GatherPress endpoint correctly denied the same request. An unauthenticated attacker could read attendee names, user IDs, profile URLs, comment IDs and timestamps for events organisers intended to keep private.
- Fixed in 38 hours
- Paid in 39 hours
- Disclosed after 52 days
Summary by the researcher
Password-protected GatherPress events are supposed to hide the RSVP attendee list until someone enters the event password — the official GatherPress API enforces that. A WordCamp Meta REST wrapper (gpre/v1) exposed the same RSVP roster to anyone with no login and no password, while the core endpoint correctly blocked access.
The report
On events.wordpress.org (WordPress Groups / events Meta), recurring GatherPress events are served through a custom REST wrapper gpre/v1 (gatherpress-recurring-events mu-plugin in wordcamp.org Meta).
GatherPress core (since 0.35.1) intentionally gates RSVP roster reads with Event::can_read_rsvps(), which requires that a published event’s password gate is satisfied (! post_password_required( $post )). The core route:
GET /wp-json/gatherpress/v1/event/rsvp-responses?post_id={id}
uses permission_callback => can_read_event_rsvps and correctly returns 401 for password-protected events when the caller has not entered the password.
The Meta wrapper route:
GET /wp-json/gpre/v1/event/{recurrence_id}/rsvp-responses?post_id={id}
registers permission_callback => '__return_true' and only checks that the post is publish and the occurrence exists. It never calls Event::can_read_rsvps() / post_password_required().
Result: an unauthenticated caller who does not know the event password can still retrieve the occurrence-scoped RSVP roster (attendee names, user IDs, profile URLs, comment IDs, timestamps) via gpre, while the official GatherPress endpoint denies the same request.
This is not intentional public roster behavior for open events (that is by design). It is a password-gate bypass relative to GatherPress’s documented/security model and relative to other Meta code that does respect post_password_required (e.g. Groups frontend page-content block).
Not a duplicate of BuddyPress Activity REST issues such as #3812595 / #4020618 (different asset, different endpoint, different root cause).
Steps To Reproduce: Pre-conditions (local / Meta Docker — do not abuse production): WordPress with GatherPress ≥ 0.35.1 and the gatherpress-recurring-events (gpre) mu-plugin from wordcamp.org Meta. Activity/Groups-style event with RSVPs enabled.
Create a gatherpress_event that is published and set a post password (e.g. secret-pass). Configure it as a recurring series (gpre meta: weekly/etc.) so occurrences are projected and a recurrence_id exists (e.g. 20260921T100000). As a normal logged-in user, RSVP attending for that occurrence (so the RSVP comment is mapped to the occurrence via gpre). Log out (or use a clean browser / no cookies). Do not submit the post password. Call GatherPress core: GET /wp-json/gatherpress/v1/event/rsvp-responses?post_id=<EVENT_ID> Expected / Actual: 401 rest_forbidden. Call the Meta gpre wrapper with the same event and its recurrence_id: GET /wp-json/gpre/v1/event/<RECURRENCE_ID>/rsvp-responses?post_id=<EVENT_ID> Actual: 200 with JSON like: { "success": true, "data": { "attending": { "count": 1, "records": [ { "name": "rsvper", "user_id": 4, "profile": "http://…/author/rsvper/", "comment_id": 2 } ] } } } Confirm no wp-postpass_* cookie and no Authorization header were sent. Root cause (code): mu-plugins/gatherpress-recurring-events/includes/class-rest-api.php — route rsvp-responses uses __return_true; responses() only requires publish + valid occurrence, then returns ( new Rsvp( $post_id ) )->responses().
Recommendations Change the gpre/v1/.../rsvp-responses permission_callback to reuse GatherPress’s gate, e.g. Event::can_read_rsvps( (int) $request['post_id'] ) (same as core can_read_event_rsvps). Optionally enforce the same check at the start of responses() (defense in depth). Add a PHPUnit test: password-protected published recurring event + unauthenticated gpre GET → 401/403; after password satisfied → 200. Review sibling gpre read routes (/occurrences/...) for the same password omission if they expose sensitive data.
Impact
Unauthenticated attackers can read RSVP attendee identity data (name, user id, profile URL, comment id, attendance status/timestamps) for password-protected recurring events on the WordPress events/Groups Meta platform, bypassing the password protection that GatherPress core enforces on the equivalent API.
Impact is confidentiality of event attendance / community PII for events organizers intended to keep behind a password. No authentication required. No need for elevated roles.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The custom REST route registered its permission callback as always-true and only checked that the post was published and the occurrence existed, never calling the core password-gate check.
Impact
Unauthenticated attackers could read attendee identity data for password-protected recurring events, breaching the confidentiality of event attendance and community personal data; no authentication or elevated role was needed.
What the attacker needed
GatherPress 0.35.1 or later; recurring-events mu-plugin installed; a password-protected recurring event; no login or password needed
The fix
The wrapper's permission callback should reuse the core password-gate check, optionally also enforced inside the handler, with a regression test added.
How it was found
- Set up WordPress with GatherPress and the recurring-events mu-plugin, and create a published event with a post password and RSVPs enabled.
- Configure the event as a recurring series so an occurrence identifier exists.
- As a logged-in user, RSVP to that occurrence.
- Log out and do not submit the event password.
- Request the core GatherPress RSVP endpoint and observe a 401 forbidden response.
- Request the custom wrapper endpoint with the same event and occurrence identifier and observe a 200 response containing the attendee list.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some events on a WordPress site are protected by a password, so only people who know it can see who is attending. A separate add-on for recurring events forgot to check that password, so anyone on the internet could ask it for the attendee list and get it back. The main event software did check the password, but this add-on did not.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.