GitHub Advisory Database
GHSA-7f62-4887-cfv5
Privilege escalation in easyappointments
Details
The Easy!Appointments API authorization is checked against the user's existence, without validating the permissions. As a result, a low privileged user (eg. provider) can create a new admin user via the "/api/v1/admins/" endpoint and take over the system. A patch is available on the develop branch of the repository.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | alextselegidis/easyappointments | All versions up to and including 1.4.3 |