HIGH8.9
GHSA-g7pj-3v97-3vxp
Pimcore Vulnerable to PHP Object Injection Attacks
Quick fix
GHSA-g7pj-3v97-3vxp — pimcore/pimcore: upgrade to the fixed version with the command below.
composer require pimcore/pimcore:^2.2.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/pimcore/pimcore
Introduced in:
1.4.9Fixed in: 2.2.0Fix
composer require pimcore/pimcore:^2.2.0References
- https://nvd.nist.gov/vuln/detail/CVE-2014-2921[ADVISORY]
- https://github.com/pimcore/pimcore/commit/3cb2683e669b5644f180d362cfa9614c09bef280[WEB]
- https://github.com/pedrib/PoC/blob/caa03645e256a8b50f1101c983d39586ebc467ee/advisories/pimcore-2.1.0.txt[WEB]
- https://github.com/pedrib/PoC/blob/master/pimcore-2.1.0.txt[WEB]
- https://github.com/pimcore/pimcore[PACKAGE]
- http://openwall.com/lists/oss-security/2014/04/21/1[WEB]
- http://www.pimcore.org/en/resources/blog/pimcore+2.2+released_b442[WEB]