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.
Originally disclosed on Cisco Talos
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.
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
- Identify the installation directory and the service binaries with weak permissions.
- Replace one of the service binaries or DLLs with a malicious file.
- Restart the service to execute the malicious file under NETWORK SERVICE.
- 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.