Description
An issue was discovered in Pimcore before 5.7.1. An attacker with classes permission can send a POST request to /admin/class/bulk-commit, which will make it possible to exploit the unserialize function when passing untrusted values in the data parameter to bundles/AdminBundle/Controller/Admin/DataObject/ClassController.php.
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
-
Pimcore Unserialize RCE
exploit/multi/http/pimcore_unserialize_rce
Exploit-DB 1
- Pimcore < 5.71 - Unserialize Remote Code Execution (Metasploit) EDB-46783 · remote · Apr 30, 2019 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | pimcore/pimcore | < 5.7.1 | 5.7.1 | GHSA-7hqr-j26m-gmwp |
References
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-173998
- https://github.com/pimcore/pimcore/commit/38a29e2f4f5f060a73974626952501cee05fda73
- http://packetstormsecurity.com/files/152667/Pimcore-Unserialize-Remote-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/http/pimcore_unserialize_rce
- 46783 exploit
- https://blog.certimetergroup.com/it/articolo/security/polyglot_phar_deserialization_to_rce