Skip to content
Access control Advisory Intermediate CVE-2021-40397

Advantech WISE-PaaS/OTA 3.0.9 Server installation privilege escalation vulnerability

The Advantech WISE-PaaS/OTA Server 3.0.9 installation directory grants the 'Everyone' group full control over service binaries and DLLs. An attacker can replace these files to escalate privileges from any user to NT AUTHORITY\NETWORK SERVICE, and then abuse SeImpersonatePrivilege to achieve NT SYSTEM.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A privilege escalation vulnerability exists in the installation of f Advantech WISE-PaaS/OTA Server 3.0.9. 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

Likely, the installer sets weak file permissions (Everyone: Full) on service executables and DLLs, allowing any local user to replace them.

Impact

An attacker with local access can escalate privileges from any user to NT AUTHORITY\NETWORK SERVICE and then to NT SYSTEM.

What the attacker needed

Local access to the system; ability to write to installation directory

The fix

The vendor patched the vulnerability, likely by correcting the default file permissions.

How it was found

  1. Identify the installation directory and the service binaries with weak permissions.
  2. Replace one of the service binaries or DLLs with a malicious file.
  3. Restart the service to execute the malicious file under NETWORK SERVICE.
  4. Use SeImpersonatePrivilege to escalate to NT SYSTEM.

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.

This report describes a Windows privilege escalation bug. The installer gives every user full write access to files that a background service runs with higher privileges. By swapping one of those files, a low-privileged user can make the service run their code and gain more control 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.

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.