Skip to content
Access control Advisory Intermediate CVE-2021-21910CVE-2021-21911CVE-2021-21912

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.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

High 8.8 View original

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.

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

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

  1. Install Advantech R-SeeNet on Windows.
  2. Identify a service executable file that the Authenticated Users group can modify.
  3. Replace that file with a malicious executable.
  4. 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.

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.