CISA published advisory ICSMA-20-184-01 on July 2, 2020, for OpenClinic GA versions 5.09.02 and 5.89.05b. Brian D. Hysell reported the vulnerabilities, and the CVSS v3 scores in the record run from 5.4 to 9.8.

The lead flaw is CVE-2020-14485 (CWE-288, CVSS 9.4). An attacker can bypass client-side access controls or send a crafted request to open a session with limited functionality, then run admin functions such as SQL queries. CVE-2020-14484 (CVSS 7.3) bypasses account lockout so passwords can be brute forced, and CVE-2020-14494 (CVSS 7.3) leaves an authentication mechanism without enough complexity to stop brute force.

Authorization is broken too. CVE-2020-14491 (CWE-862, CVSS 8.3) lets a low-privilege user run SQL queries without a permission check. A low-privilege user can also use SQL syntax to write arbitrary files to the server and execute commands (CVSS 8.8). CVE-2020-14490 (CWE-434, CVSS 8.8) accepts unverified uploads that can then be executed, and CVE-2020-14486 (CWE-22, CVSS 6.3) includes arbitrary local files from a parameter.

The rest of the list covers cross-site scripting, end-of-life third-party components with known vulnerabilities, passwords stored with inadequate hashing, and CVE-2020-14492, where ignoring the redirect after a permission failure lets commands run anyway.

CISA says the combined effect could let an attacker bypass authentication, read or change restricted database information and execute malicious code. OpenClinic GA recommends upgrading to Version 5.170.5 or later.

When the access check lives in the browser, the server has no access check. Every function behind the login needs its own server-side authorization.