CVE-2022-1397: Privilege escalation in easyappointments
API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.
Other sources
Privilege escalation in easyappointments
— Packagist
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.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alextselegidis/easyappointmentsto a version that resolves this vulnerability.Fixed in 1.5.0Patch 63dbb51decfcc1631c398ecd6d30e3a337845526
Event History
Frequently Asked Questions
What is CVE-2022-1397?
CVE-2022-1397 is a vulnerability that allows API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to version 1.5.0, which can result in a full system takeover.
What is the severity of CVE-2022-1397?
The severity of CVE-2022-1397 is critical with a CVSS score of 8.8.
What software versions are affected by CVE-2022-1397?
The versions of Easyappointments affected by CVE-2022-1397 are prior to 1.5.0.
How can I fix CVE-2022-1397?
To fix CVE-2022-1397, you should update your Easyappointments software to version 1.5.0 or later.
Where can I find more information about CVE-2022-1397?
You can find more information about CVE-2022-1397 at the following references: [GitHub Commit](https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526) and [Huntr.dev Bounty](https://huntr.dev/bounties/5f69e094-ab8c-47a3-b01d-8c12a3b14c61).