Path Traversal in Pimcore

CVE-2021-23340

This affects the package pimcore/pimcore before 6.8.8. A Local FIle Inclusion vulnerability exists in the downloadCsvAction function of the CustomReportController class (bundles/AdminBundle/Controller/Reports/CustomReportController.php). An authenticated user can reach this function with a GET request at the following endpoint: /admin/reports/custom-report/download-csv?exportFile=&91;filename]. Since exportFile variable is not sanitized, an attacker can exploit a local file inclusion vulnerability.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.013 (67.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.

Affected products

  • Pimcore
  • N/a Pimcore/pimcore — versions unspecified

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-23340?
CVE-2021-23340 is a high-severity vulnerability in Pimcore, classified under Path Traversal. CVSS score: 7.1/10. Published 2021-02-18.
How severe is CVE-2021-23340?
High severity. CVSS v3 base score is 7.1 out of 10.