Vulnerabilities > CVE-2019-10867 - Deserialization of Untrusted Data vulnerability in Pimcore

047910
CVSS 6.5 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
pimcore
CWE-502
exploit available
metasploit

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Pimcore
74

Common Weakness Enumeration (CWE)

Exploit-Db

fileexploits/php/remote/46783.rb
idEDB-ID:46783
last seen2019-04-30
modified2019-04-30
platformphp
port
published2019-04-30
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/46783
titlePimcore < 5.71 - Unserialize RCE (Metasploit)
typeremote

Metasploit

descriptionThis module exploits a PHP unserialize() in Pimcore before 5.7.1 to execute arbitrary code. An authenticated user with "classes" permission could exploit the vulnerability. The vulnerability exists in the "ClassController.php" class, where the "bulk-commit" method makes it possible to exploit the unserialize function when passing untrusted values in "data" parameter. Tested on Pimcore 5.4.0-5.4.4, 5.5.1-5.5.4, 5.6.0-5.6.6 with the Symfony unserialize payload. Tested on Pimcore 4.0.0-4.6.5 with the Zend unserialize payload.
idMSF:EXPLOIT/MULTI/HTTP/PIMCORE_UNSERIALIZE_RCE
last seen2020-06-14
modified2019-04-29
published2019-04-07
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/pimcore_unserialize_rce.rb
titlePimcore Unserialize RCE

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/152667/pimcore_unserialize_rce.rb.txt
idPACKETSTORM:152667
last seen2019-05-01
published2019-04-29
reporterDaniele Scanu
sourcehttps://packetstormsecurity.com/files/152667/Pimcore-Unserialize-Remote-Code-Execution.html
titlePimcore Unserialize Remote Code Execution