OpenEMR write-scope authorization bypass in SMART/OAuth clients
openemr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openemr openemr |
|
|
Original description
OpenEMR before 8.4.0 contains an improper authorization vulnerability in ScopeRepository::finalizeScopes() that allows read-only SMART/OAuth clients to obtain write scopes because ScopeEntity::containsScope() ignores registered permissions. Attackers with a client registered for user/<resource>.read can request user/<resource>.write to create, update, and delete appointments or patient data.
From the CVE record · VulnCheck