{"id":"GHSA-7f62-4887-cfv5","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](https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526) is available on the `develop` branch of the repository.","aliases":["CVE-2022-1397"],"modified":"2023-11-08T04:07:47.948334Z","published":"2022-05-11T00:01:38Z","database_specific":{"github_reviewed_at":"2022-05-25T19:31:53Z","nvd_published_at":"2022-05-10T14:15:00Z","cwe_ids":["CWE-269"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1397"},{"type":"WEB","url":"https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526"},{"type":"PACKAGE","url":"https://github.com/alextselegidis/easyappointments"},{"type":"WEB","url":"https://huntr.dev/bounties/5f69e094-ab8c-47a3-b01d-8c12a3b14c61"}],"affected":[{"package":{"name":"alextselegidis/easyappointments","ecosystem":"Packagist","purl":"pkg:composer/alextselegidis/easyappointments"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.3"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7f62-4887-cfv5/GHSA-7f62-4887-cfv5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}