Adobe Photoshop JSX File ExtendScript Folder.remove Insufficient UI Warning Denial-of-Service Vulnerability
The Folder.remove method in Adobe Photoshop's JSX file handling does not warn the user before performing unsafe actions. An attacker can exploit this to delete files in the context of the current process, causing a denial-of-service condition.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to trigger a denial-of-service condition on affected installations of Adobe Photoshop. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 application does not prompt the user for confirmation before executing the Folder.remove method in JSX scripts, allowing unsafe file deletion.
Impact
An attacker could delete files in the context of the current process, leading to a denial-of-service condition.
What the attacker needed
Victim opens a malicious JSX file
The fix
Adobe has issued an update to correct this vulnerability.
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.
Adobe Photoshop can run scripts written in a language called JSX. One command in that language, Folder.remove, deletes files. The program does not ask the user for confirmation before running this command, so a malicious script can delete files without the user knowing. This can stop the program from working properly, which is a denial-of-service.
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.