CyberRota Analysis
AI-GeneratedOpenEMR versions up to 8.2.0 are vulnerable due to an improper authentication flaw in the OAuth2 dynamic client registration endpoint, allowing unauthenticated attackers to register malicious clients with elevated FHIR scopes. If an administrator approves such a client, attackers can leverage the client_credentials grant with a self-signed JWT to gain unauthorized access to sensitive FHIR resources for all patients. Organizations using OpenEMR should prioritize patching this vulnerability to prevent potential data breaches and unauthorized access to patient information.
Original NVD 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.