PT-2022-13857 · Unknown · Easyappointments

Published

2022-05-10

·

Updated

2022-05-16

·

CVE-2022-1397

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions easyappointments versions prior to 1.5.0
Description The issue concerns an API privilege escalation in the easyappointments GitHub repository. It allows a low-privileged user, such as a provider, to create a new admin user via the "/api/v1/admins/" endpoint, potentially leading to full system takeover. This is due to the API authorization checking the user's existence without validating their permissions.
Recommendations For versions prior to 1.5.0, update to version 1.5.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the "/api/v1/admins/" endpoint to prevent unauthorized creation of admin users. Additionally, review user permissions and validate them properly to prevent privilege escalation.

Exploit

Fix

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-1397
GHSA-7F62-4887-CFV5

Affected Products

Easyappointments