(0Day) Devin Desktop Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
The Electron-based Devin Desktop application loads a script file from an unsecured location, allowing a local attacker who can already run low-privileged code to escalate privileges and execute arbitrary code as another user. The vendor was notified but did not acknowledge the report before the advisory was published as a 0-day.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Devin Desktop. 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 Electron application searches for and loads a script file from a directory that is writable by low-privileged users, instead of a protected location.
Impact
A local attacker with low-privileged code execution could escalate to the context of a target user and run arbitrary code; the advisory offers no mitigation other than restricting interaction with the product.
What the attacker needed
Ability to execute low-privileged code locally
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 local privilege escalation bug in a desktop app built with Electron. The app looks for a script file in a place an attacker can write to, so someone who already has a low-level foothold on the machine can make the app run their code with higher rights. It is not a remote attack; the attacker needs to be able to run code on the system first.
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.