Exposure of Private Personal Information to an Unauthorized Actor in alextselegidis/easyappointments
The advisory, in context
The software is a booking management system that has a public form to place bookings, and a private area for the calendar and management of services, users, settings, etc. There is a backend API that allows data manipulation, including listing the appointments for a specific time range. This happens on this endpoint: /index.php/backend_api/ajax_get_calendar_events Unfortunately, there is no authentication / permissions-check on that endpoint, the only required parameters in a POST request are "startDate", "endDate" and "csrfToken". Because the csrfToken can be obtained by any unauthenticated user just visiting the public form (and is valid for the backend as well), any attacker can query the backend API and obtain all sorts of private information about the appointment, in JSON format.
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 before 1.4.3
Fixed in 1.4.3
22 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-beta.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "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-beta.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0482
- https://github.com/alextselegidis/easyappointments/commit/44af526a6fc5e898bc1e0132b2af9eb3a9b2c466
- https://github.com/alextselegidis/easyappointments
- https://github.com/alextselegidis/easyappointments/releases/tag/1.4.3
- https://huntr.dev/bounties/2fe771ef-b615-45ef-9b4d-625978042e26
- https://opencirt.com/hacking/securing-easy-appointments-cve-2022-0482
- http://packetstormsecurity.com/files/166701/Easy-Appointments-Information-Disclosure.html