Skip to content
Access control Advisory Intermediate CVE-2020-27228

OpenClinic GA installation privilege escalation vulnerability

The OpenClinic GA installer gives the built-in Authenticated Users group change permission on the MySQL service binary, which runs as NT AUTHORITY\SYSTEM. Any authenticated local user could overwrite that binary and gain SYSTEM privileges once the service restarts.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An incorrect default permissions vulnerability exists in the installation functionality of OpenClinic GA 5.173.3. Overwriting the binary can result in privilege escalation.

Yuri Kramarz, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A local authenticated user could escalate to SYSTEM privileges by replacing the service binary and waiting for the service to restart.

What the attacker needed

Local access to the machine; any authenticated user account; service restart

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

On Windows, services can run with very high powers, here as the SYSTEM account. The installer left the program file for the database service writable by ordinary logged-in users. If a normal user swaps that file for their own program, the system runs it with those high powers, so the user effectively becomes an administrator.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.