{"id":"CVE-2022-1397","aliases":["EUVD-2022-2979","GHSA-7f62-4887-cfv5"],"status":"published","title":"API Privilege Escalation in alextselegidis/easyappointments","description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.01166,"percentile":0.67528,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269"],"published":"2022-05-10T10:05:10Z","modified":"2026-10-28T02:31:09Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"alextselegidis/easyappointments","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"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"]}],"products":[{"vendor":"alextselegidis","product":"alextselegidis/easyappointments"},{"vendor":"easyappointments","product":"easyappointments"}],"references":[{"url":"https://huntr.dev/bounties/5f69e094-ab8c-47a3-b01d-8c12a3b14c61","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Technical Description","web"]},{"url":"https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526","tags":["x_refsource_MISC","x_transferred","Patch","Technical Description","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1397","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7f62-4887-cfv5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1397.json","tags":["advisory"]},{"url":"https://github.com/alextselegidis/easyappointments","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-1397","title":"API Privilege Escalation in alextselegidis/easyappointments","description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","status":"published","published":"2022-05-10T10:05:10Z","modified":"2024-08-03T00:03:06.244Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:34:38.922686Z"}],"euvd":[{"id":"EUVD-2022-2979","description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","status":"published","published":"2022-05-10T10:05:10Z","modified":"2024-08-03T00:03:06Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:26:01.010049Z"}],"ghsa":[{"id":"GHSA-7f62-4887-cfv5","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.","status":"published","published":"2022-05-11T00:01:38Z","modified":"2023-02-01T05:02:09Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2022-1397","description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","status":"published","published":"2022-05-10T14:15:08.333Z","modified":"2026-06-17T04:22:22.56Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:07:19.51203Z"}],"osv":[{"id":"CVE-2022-1397","title":"API Privilege Escalation in alextselegidis/easyappointments","description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","status":"published","published":"2022-05-10T10:05:10Z","modified":"2026-10-28T02:31:09.358901416Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:44:23.245966Z"},{"id":"GHSA-7f62-4887-cfv5","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.","status":"published","published":"2022-05-11T00:01:38Z","modified":"2023-11-08T04:07:47.948334Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:46:41.002603Z"}]}}
