Advisory

GHSA-7f62-4887-cfv5

Also known as: CVE-2022-1397

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-11 00:01 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

alextselegidis/easyappointments

Packagist · All systems

Affected

  • introduced 0, last affected 1.4.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences