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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ProcessMaker | ProcessMaker | < 3.5.4 | 3.5.4 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ProcessMaker Plugin Upload
exploit/multi/http/processmaker_plugin_upload
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/processmaker_plugin_upload.rb exploit
- https://wiki.processmaker.net/3.0/Plugin_Development product
- https://www.fortiguard.com/encyclopedia/ips/45757 third-party-advisory
- https://www.exploit-db.com/exploits/44399 exploit
- https://process-maker-authenticated-plugin-upload-rce third-party-advisory
- https://vulncheck.com/advisories/process-maker-authenticated-plugin-upload-rce third-party-advisory