Advantech R-SeeNet installation privilege escalation vulnerability
The Windows installer for Advantech R-SeeNet grants the Authenticated Users group write access to service executable files that run as NT SYSTEM. An attacker can replace one of these files and restart the service to escalate privileges to SYSTEM.
Originally disclosed on Cisco Talos
A privilege escalation vulnerability exists in the Windows version of installation for Advantech R-SeeNet Advantech R-SeeNet 2.4.15 (30.07.2021). A specially-crafted file can be replaced in the system to escalate privileges to NT SYSTEM authority.
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 sets weak file permissions on service executables, allowing the Authenticated Users group to modify files that are executed with SYSTEM privileges.
Impact
An attacker with a low-privileged account could escalate to NT SYSTEM authority, gaining full control of the affected system.
What the attacker needed
Windows installation of R-SeeNet; low-privileged authenticated user account; ability to restart the affected service
The fix
The vendor patched the vulnerability, presumably by correcting the file permissions so that only administrators can modify the service executables.
How it was found
- Install Advantech R-SeeNet on Windows.
- Identify a service executable file that the Authenticated Users group can modify.
- Replace that file with a malicious executable.
- Restart the corresponding service to execute the malicious file with SYSTEM privileges.
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 often run with high privileges, such as the SYSTEM account. If a normal user can modify the program file that a service runs, they can replace it with their own program. When the service restarts, that program runs with the service's high privileges, giving the attacker full control of the computer.
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.