GHSA-7f62-4887-cfv5
Privilege escalation in easyappointments
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | alextselegidis/easyappointments | <= 1.4.3 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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](https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526) is available on the `develop` branch of the repository.
References
External links from the advisory. They lead to third-party sites.