LogicalDoc installation privilege escalation vulnerability
The LogicalDoc installation directory grants the Authenticated Users group change permissions on files that are executed with SYSTEM privileges. An attacker with any authenticated account could replace the service binary or a loaded DLL to execute arbitrary commands as SYSTEM.
Originally disclosed on Cisco Talos
A local privilege elevation vulnerability exists in the file system permissions of LogicalDoc 8.5.1 installation. Depending on the vector chosen, an attacker can either replace the service binary or replace DLL files loaded by the service, both which get executed by a service thus executing arbitrary commands with…
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
Root cause
The installer set weak file system permissions, giving the Authenticated Users group change access to executables and DLLs that run as SYSTEM.
Impact
Any authenticated local user could replace a service binary or DLL to run arbitrary code with SYSTEM privileges, leading to full compromise of the host.
What the attacker needed
Local access to the Windows host; any authenticated user account
The fix
The vendor released a patch that corrects the default permissions.
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, some programs run as a powerful system account called SYSTEM. If ordinary logged-in users can modify the program's files, they can swap in their own program and it will run with those high privileges. This report shows that the LogicalDoc installer left its folder writable by all authenticated users, so any such user could take over the machine.
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.