CVE-2021-23340
HIGH7.1EPSS 0.02%Path traversal in pimcore/pimcore
Published: 2/25/2021Modified: 3/13/2026
Also known as:GHSA-h7f9-cvh5-qw7f
Description
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.
Affected packages (1)
- Packagist/pimcore/pimcorefrom 0, < 6.8.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
References (4)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23340
- WEBhttps://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454
- WEBhttps://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442
- WEBhttps://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132