Incorrect Comparison in OpenEMR - #VU149484
Published: September 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass PIN verification and disclose patient information.
The vulnerability exists due to improper comparison in OneTimeAuth.php::processOnetime() when validating a submitted login PIN. A remote attacker can submit a crafted numeric representation of a PIN to bypass PIN verification and disclose patient information.
Exploitation requires knowledge of the PIN's numeric value or a side channel indicating that the PIN begins with zero.