Advantech WebAccess/SCADA installation privilege escalation vulnerability
Several files and registry entries installed by Advantech WebAccess/SCADA 9.0.1 are writable by ordinary users, so a local attacker can replace a service binary, a loaded library, a Node.js script or a COM server and have it run as NT SYSTEM. This gives full administrative control of the machine.
Originally disclosed on Cisco Talos
Multiple exploitable local privilege elevation vulnerabilities exist in the file system permissions of Advantech WebAccess/SCADA 9.0.1 installation. Depending on the vector chosen, an attacker can either replace binary or loaded modules to execute code with NT SYSTEM privilege.
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 set weak file system and registry permissions, giving ordinary users write access to binaries, libraries, scripts and COM server paths that are later executed with high privileges.
Impact
A local user could replace or sideload code in several components and gain code execution as NT SYSTEM, giving full control of the host.
What the attacker needed
Local access to the machine; any authenticated user account; default installation of the product
How it was found
- Log in to the machine as any ordinary user.
- Find a service binary, library, script or COM server path that the user group can write to.
- Replace or append to that file with attacker-controlled code.
- Wait for the service, script or COM object to be started by a higher-privileged account.
- The attacker's code then runs with NT SYSTEM privilege.
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, programs run with different levels of power, and the highest is the SYSTEM account. This software installs files that any logged-in user is allowed to change, but those files are later started by a powerful service. So a low-privileged person can swap the file for their own program and it will run with the highest power.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.