Avast Premium Security AvastSvc Directory Junction Denial-of-Service Vulnerability
The AvastSvc.exe service could be tricked into deleting an arbitrary directory when a local attacker created a directory junction. A low-privileged local attacker could use this to cause a denial-of-service condition on the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to delete arbitrary directories on affected installations of Avast Premium Security. 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 privileged service followed a directory junction created by a low-privileged user and performed a delete operation on the target path without checking who controlled it.
Impact
A local low-privileged attacker could delete arbitrary directories, creating a denial-of-service condition on the system.
What the attacker needed
Ability to run low-privileged code locally
The fix
It was fixed in Avast v20.10.
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.
A directory junction is a special kind of shortcut on Windows that points one folder to another. The Avast security service ran with high privileges and could be made to delete a folder through such a shortcut, so someone with only limited access to the machine could make it remove folders it should not touch. That can break the system and stop it working properly.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.