Privilege escalation in easyappointments
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases through 1.4.3 (inclusive)
No fix recorded for this interval.
23 explicitly affected 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
View affected-version evidence
{
"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"
]
}