CyberRota Analysis
AI-GeneratedAppwrite versions prior to 2.0.0 are vulnerable to an argument injection flaw that permits authenticated users with specific write permissions to execute arbitrary commands by manipulating the providerRootDirectory parameter. This vulnerability arises from improper sanitization, allowing TAB characters to bypass security measures and be interpreted as command arguments, potentially leading to remote code execution. Organizations utilizing Appwrite should prioritize patching this vulnerability to safeguard against potential exploitation by malicious users.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Appwrite before 2.0.0 contains an argument injection vulnerability that allows authenticated users with functions.write or sites.write permissions to execute arbitrary commands by injecting TAB characters into the providerRootDirectory parameter used to construct GNU tar commands. The application uses escapeshellcmd instead of escapeshellarg and fails to quote the parameter, allowing TAB characters to survive sanitization and be interpreted as argument separators, enabling injection of arbitrary GNU tar arguments such as --checkpoint-action=exec to achieve remote code execution as the builds worker process user.