SuiteCRM <= 7.11.11 Multiple Phar Deserialization Vulnerabilities
User input passed through the 'backup_dir' parameter in the Administration module's Backups action is not properly sanitized before being used in a file operation. This allows malicious users to inject arbitrary PHP objects via the phar:// stream wrapper, potentially leading to arbitrary PHP code execution.
karmainsecurity.com
Published on karmainsecurity.com
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2020-8801 to these vulnerabilities.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
This could allow malicious users to execute arbitrary PHP code, leading to full compromise of the application.
What the attacker needed
Access to the Administration module; ability to set the backup_dir parameter
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 write-up has not been written yet. The Original tab links to the source.
The application takes a value from the user (the backup directory) and uses it in a file operation without cleaning it. An attacker can abuse a special file format (phar) to trick the application into loading malicious code, which can then run on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.