PrivEsc in Lenovo Solution Centre, 10 minutes later
A high-privileged Lenovo process overwrites the permissions of files in a user-writable log directory, giving all authenticated users full control. An attacker can create a hardlink in that directory to a protected system file, causing its permissions to be weakened and potentially leading to arbitrary code execution with elevated privileges.
pentestpartners.com
Published on pentestpartners.com
We found a privilege escalation vulnerability in the Lenovo Solution Centre (LSC) software, which came pre-installed on many Windows-based Lenovo devices.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
A low-privileged user could gain control of protected files and potentially execute arbitrary code with Administrator or SYSTEM privileges.
What the attacker needed
Lenovo Solution Centre installed; Low-privileged user account; Ability to create hardlinks
The fix
The software was end-of-life and should be uninstalled; Lenovo did not release a patch.
How it was found
- Create a hardlink file in the LSC log directory pointing to a target file (e.g., the hosts file).
- Log out and log back in.
- Wait 10 minutes for the scheduled task to run.
- The target file's DACL is overwritten, granting full access to Authenticated Users.
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 write-up has not been written yet. The Original tab links to the source.
This is a privilege escalation bug in Lenovo software. A background service running with high privileges changes the permissions of files in a folder that any user can write to, making those files writable by everyone. By creating a special link (hardlink) in that folder that points to a protected system file, an attacker can trick the service into making that protected file writable, which can then be abused to run code as 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.