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.
Originally disclosed on Cisco Talos
An incorrect default permissions vulnerability exists in the installation functionality of OpenClinic GA 5.173.3. Overwriting the binary can result in privilege escalation.
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.