OpenEMR 8.2.0 OAuth2 Dynamic Client Registration Unauthorized FHIR Access
openemr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openemr openemr |
| No fix yet |
Original description
OpenEMR through 8.2.0 contains an improper authentication vulnerability in the OAuth2 dynamic client registration endpoint that allows unauthenticated attackers to register a malicious client with system-level FHIR scopes by supplying a self-generated RSA keypair via the jwks field. Once an administrator approves the registered client, attackers can use the client_credentials grant with a self-signed JWT assertion to obtain access tokens granting read access to all FHIR resources across all patients in the system.
From the CVE record · VulnCheck