GHSA-r6cm-wg48-rh2r

Suggest an improvement
Source
https://github.com/advisories/GHSA-r6cm-wg48-rh2r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-r6cm-wg48-rh2r/GHSA-r6cm-wg48-rh2r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r6cm-wg48-rh2r
Aliases
Published
2022-03-10T00:00:40Z
Modified
2024-02-19T05:32:54.654667Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Exposure of Private Personal Information to an Unauthorized Actor in alextselegidis/easyappointments
Details

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/backendapi/ajaxgetcalendarevents 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.

Database specific
{
    "nvd_published_at": "2022-03-09T11:15:00Z",
    "cwe_ids": [
        "CWE-359",
        "CWE-863"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-10T21:50:52Z"
}
References

Affected packages

Packagist / alextselegidis/easyappointments

Package

Name
alextselegidis/easyappointments
Purl
pkg:composer/alextselegidis/easyappointments

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.3

Affected versions

1.*

1.1.0-beta.1
1.1.0-beta.2
1.1.0
1.1.1
1.2.0-alpha.1
1.2.0-beta.1
1.2.0
1.2.1
1.3.0-alpha.1
1.3.0-beta.1
1.3.0-beta.2
1.3.0
1.3.1-beta.1
1.3.1
1.3.2-beta.1
1.3.2
1.4.0-beta.1
1.4.0
1.4.1
1.4.2-beta.1
1.4.2
1.4.3-beta.1