CVE-2021-23340
Last modified
CVE-2021-23340 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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). EPSS estimates a 1.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pimcore | Pimcore | < 6.8.8 |
References
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454Broken Link, Third Party Advisory
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132Exploit, Patch, Third Party Advisory
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454Broken Link, Third Party Advisory
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23340?
How severe is CVE-2021-23340?
How do I fix CVE-2021-23340?
Are you affected by CVE-2021-23340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
