Advantech DeviceOn/iEdge Server 1.0.2 privilege escalation vulnerability
The Advantech DeviceOn/iEdge Server installation grants the 'Everyone' group full control over service binaries and DLLs used by the PostgreSQL service. An attacker can replace these files to escalate privileges from a low-privileged user to NT AUTHORITY\SYSTEM.
Originally disclosed on Cisco Talos
A privilege escalation vulnerability exists in the installation of Advantech DeviceOn/iEdge Server 1.0.2. 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 set weak file permissions, giving the 'Everyone' group full control over service executables and libraries.
Impact
An attacker with local access could escalate privileges to NT AUTHORITY\SYSTEM, gaining full control of the system.
What the attacker needed
Local access to the system; ability to write to installation directory
The fix
The vendor patched the vulnerability, presumably by correcting the file permissions.
How it was found
- Locate the vulnerable service binaries or DLLs in the installation directory.
- Replace one of these files with a malicious file.
- Restart the affected service.
- Use the SeImpersonatePrivilege assigned to the service to escalate to NT AUTHORITY\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 is a privilege escalation bug. The software installer gave every user on the computer permission to change important program files. A normal user can swap one of those files with their own program, and when the service restarts it runs that program with higher privileges, letting the attacker take full control of 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.