Adobe Photoshop JSX File ExtendScript Folder.rename Insufficient UI Warning Remote Code Execution Vulnerability
The JSX file handling in Adobe Photoshop did not warn users about unsafe actions when the Folder.rename method was used. An attacker could exploit this to execute arbitrary code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code 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 failed to present a security warning when a JSX script invoked the Folder.rename method, allowing script code to run without user consent.
Impact
An attacker could execute arbitrary code in the context of the current process, but the victim must first open a malicious JSX file or visit a malicious page.
What the attacker needed
Victim opens a malicious JSX file; victim visits a malicious page
The fix
Adobe 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.
A JSX file is a script that Photoshop can run. Normally, Photoshop should warn you before running a script that could do dangerous things, but here it did not warn about a specific action (renaming a folder). Because of that, a malicious script could run code on your computer without you realising it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.