Description
An unrestricted file upload vulnerability exists in ProcessMaker versions prior to 3.5.4 due to improper handling of uploaded plugin archives. An attacker with administrative privileges can upload a malicious .tar plugin file containing arbitrary PHP code. Upon installation, the plugin’s install() method is invoked, resulting in execution of attacker-supplied PHP code on the server with the privileges of the web server user. This vulnerability can be chained with CVE-2022-38577 — a privilege escalation flaw in the user profile page — to achieve full remote code execution from a low-privileged account.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version before 3.5.4
Credits
bcoles
References
raw.githubusercontent.com/...p/processmaker_plugin_upload.rb
wiki.processmaker.net/3.0/Plugin_Development
www.fortiguard.com/encyclopedia/ips/45757
www.exploit-db.com/exploits/44399
process-maker-authenticated-plugin-upload-rce
vulncheck.com/...ocess-maker-authenticated-plugin-upload-rce