Description
OpenEMR before 8.5.0 contains an authorization bypass vulnerability that allows OAuth2 clients to use unregistered grant types because oauth_clients.grant_types is never enforced. Attackers can request tokens with grant_type=password to bypass the user consent screen, and disabled clients can redeem authorization codes using JWT client assertions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openemr | openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-qjj7-c4m9-6f92) vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 OAuth2 Grant Type Enforcement Bypass via Token Endpoint third-party-advisory