CVE-2021-23340
mediumpriority · track · 28EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.5–7.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-h7f9-cvh5-qw7fPath traversal in pimcore/pimcore2021-02-25ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
- CNNVD-202102-1360cnnvd
- EUVD-2021-0554enisa_euvd
- GHSA-h7f9-cvh5-qw7fenisa_euvd
- SNYK-PHP-PIMCOREPIMCORE-1070132osv
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454cnnvd
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-23340cnnvd
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132cnnvd
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454enisa_euvd
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442enisa_euvd
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132enisa_euvd
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454Broken LinkThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan