(0Day) Advantech WebAccess Node Incorrect Permission Assignment Privilege Escalation Vulnerability
The PostgreSQL database used by Advantech WebAccess Node was configured with incorrect permissions on a resource used by the service. A local attacker who could already run low-privileged code could use this to escalate to SYSTEM and execute code at that level.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected 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 PostgreSQL installation or its configuration files were given permissions that let a low-privileged local user modify resources the service later uses with SYSTEM rights.
Impact
A local attacker with the ability to run low-privileged code could escalate privileges and execute code as SYSTEM; the text does not say a patch was available at release.
What the attacker needed
Local access to the target system; ability to run low-privileged code
The fix
The vendor had not shipped a fix at the time of disclosure; the advisory suggests limiting who can reach the service to trusted machines only.
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.
Some programs run background services, and those services use files or settings that only trusted users should be able to change. Here, the database part of the product was set up so that a user with only limited rights could alter something the service relies on. Because the service runs with high rights, the attacker could then act as the system itself.
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.