{"id":"GHSA-7f62-4887-cfv5","aliases":["CVE-2022-1397"],"title":"Privilege escalation in easyappointments","description":"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.","severity":"high","score":8.8,"published":"2022-05-11T00:01:38.000Z","modified":"2023-11-08T04:07:47.948Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"alextselegidis/easyappointments","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.4.3"}],"type":"ECOSYSTEM"}],"versions":["1.1.0","1.1.0-beta.1","1.1.0-beta.2","1.1.1","1.2.0","1.2.0-alpha.1","1.2.0-beta.1","1.2.1","1.3.0","1.3.0-alpha.1","1.3.0-beta.1","1.3.0-beta.2","1.3.1","1.3.1-beta.1","1.3.2","1.3.2-beta.1","1.4.0","1.4.0-beta.1","1.4.1","1.4.2","1.4.2-beta.1","1.4.3","1.4.3-beta.1"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-1397","https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526","https://github.com/alextselegidis/easyappointments","https://huntr.dev/bounties/5f69e094-ab8c-47a3-b01d-8c12a3b14c61"],"sources":[{"name":"OSV","id":"GHSA-7f62-4887-cfv5","modified":"2023-11-08T04:07:47.948334Z","url":"https://osv.dev/vulnerability/GHSA-7f62-4887-cfv5"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}]}