(0Day) Advantech WebAccess Node Product Installation File Access Control Modification Privilege Escalation Vulnerability
The installer for Advantech WebAccess Node loosens the access permissions on existing system files and gives new files weak permissions. A local attacker who can already run low-privileged code could use this to escalate to administrator.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on vulnerable installations of Advantech WebAccess Node. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 applies overly permissive file system access control entries to existing and newly created files, allowing a low-privileged user to modify files used by higher-privileged processes.
Impact
A local attacker with the ability to execute low-privileged code could escalate privileges to the level of an administrator; no patch was available at disclosure.
What the attacker needed
Local access to the target system; ability to run low-privileged code; product installed with default permissions
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.
Every file on a computer has permissions saying who may read or change it. This product's installer changed those permissions so that ordinary users could modify files they should not be able to touch. Someone who already had a small foothold on the machine could then change those files to gain administrator rights.
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.