Exposure of Private Personal Information to an Unauthorized Actor in alextselegidis/easyappointments
The backend calendar events endpoint lacked authentication and permission checks, requiring only a CSRF token that any unauthenticated visitor could obtain from the public booking form. An attacker could query this endpoint to retrieve private appointment information in JSON format.
alextselegidis/easyappointments
Originally disclosed on huntr
The software is a booking management system that has a public form to place bookings, and a private area for the calendar and management of services, users, settings, etc. There is a backend API that allows data manipulation, including listing the appointments for a specific time range. This happens on this endpoint: /index.php/backend_api/ajax_get_calendar_events Unfortunately, there is no authentication / permissions-check on that endpoint, the only required parameters in a POST request are "startDate", "endDate" and "csrfToken". Because the csrfToken can be obtained by any unauthenticated user just visiting the public form (and is valid for the backend as well), any attacker can query the backend API and obtain all sorts of private information about the appointment, in JSON format.
From the GitHub Advisory Database (GHSA-r6cm-wg48-rh2r, CC BY 4.0).
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
Likely the backend API endpoint was missing an authentication and authorisation check, and the CSRF token used was not tied to a logged-in session.
Impact
An unauthenticated attacker could obtain private information about appointments, including details within a chosen time range.
What the attacker needed
No account needed; access to the public booking form
How it was found
- Visit the public booking form as an unauthenticated user and obtain the csrfToken.
- Send a POST request to the backend calendar events endpoint with startDate, endDate and the csrfToken.
- Receive private appointment information in JSON format.
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.
A booking system has a private area for staff to manage appointments, but one of its internal web addresses (an endpoint) did not check whether the person asking was logged in. The only thing it asked for was a security token that the public booking page hands out to anyone, so anyone could ask for and receive private appointment details.
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.