cve/2021/CVE-2021-23340.md

18 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-23340](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23340)
![](https://img.shields.io/static/v1?label=Product&message=pimcore%2Fpimcore&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%206.8.8%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Local%20File%20Inclusion&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132
#### Github
No PoCs found on GitHub currently.