GHSA-7f62-4887-cfv5

Suggest an improvement
Source
https://github.com/advisories/GHSA-7f62-4887-cfv5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7f62-4887-cfv5/GHSA-7f62-4887-cfv5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7f62-4887-cfv5
Aliases
Published
2022-05-11T00:01:38Z
Modified
2023-11-08T04:07:47.948334Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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 is available on the develop branch of the repository.

Database specific
{
    "nvd_published_at": "2022-05-10T14:15:00Z",
    "github_reviewed_at": "2022-05-25T19:31:53Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-269"
    ]
}
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
Last affected
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
1.4.3