Technical impact
The vulnerability arises because OpenEMR before version 8.5.0 does not enforce any rate limiting or lockout policy for TOTP submission. An attacker who has a valid password can repeatedly submit 6‑digit MFA codes to main_screen.php or the OAuth2 authorization flow, allowing the attacker to eventually guess the correct code. This flaw permits bypassing two‑factor authentication and obtaining unauthorized access to the system. The weakness is classified as CWE-307, improper authentication.
Affected Systems
Affected systems are installations of OpenEMR provided by the openemr project, with all releases prior to 8.5.0. The vulnerability description does not list specific sub‑versions beyond the major release milestone, so all revisions before 8.5.0 are considered vulnerable.
Risk and Exploitability
The CVSS score of 8.6 classifies this flaw as High severity, but the EPSS indicator of less than 1% shows that current exploitation activity is very low. The flaw is also not listed in the CISA KEV catalog. Exploitation requires web‑based interaction with the application; an attacker can supply a valid password and repeatedly POST the TOTP value to the protected endpoints. Because the attack is purely automated and uses standard HTTP requests, the barrier to exploitation is low but the probability of an attacker attempting it remains modest. Nonetheless, the potential impact is significant if the first user’s credentials are compromised.