Pimcore Vulnerable to PHP Object Injection Attacks
Impact
The getObjectByToken function in Newsletter.php in the Pimcore_Tool_Newsletter module in pimcore 1.4.9 through 2.0.0 does not properly handle an object obtained by unserializing Lucene search data, which allows remote attackers to conduct PHP object injection attacks and execute arbitrary code via vectors involving a Zend_Pdf_ElementFactory_Proxy object and a pathname with a trailing \0 character.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 1.4.9 before 2.2.0Ecosystem versions | 2.2.0 |
Version evidence: OSV · GHSA-g7pj-3v97-3vxp
View original version evidence (0 explicit versions)
Original source description
The getObjectByToken function in Newsletter.php in the Pimcore_Tool_Newsletter module in pimcore 1.4.9 through 2.0.0 does not properly handle an object obtained by unserializing Lucene search data, which allows remote attackers to conduct PHP object injection attacks and execute arbitrary code via vectors involving a Zend_Pdf_ElementFactory_Proxy object and a pathname with a trailing \0 character.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-2921
- Patch github.com/pimcore/pimcore/commit/3cb2683e669b5644f180d362cfa9614c09bef280
- Security advisory github.com/pedrib/PoC/blob/caa03645e256a8b50f1101c983d39586ebc467ee/advisories/pimcore-2.1.0.txt
- Source reference github.com/pedrib/PoC/blob/master/pimcore-2.1.0.txt
- Source reference github.com/pimcore/pimcore
- Security advisory openwall.com/lists/oss-security/2014/04/21/1
- Source reference www.pimcore.org/en/resources/blog/pimcore+2.2+released_b442