CVE-2021-23340
Path traversal in pimcore/pimcore
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | pimcore/pimcore | < 6.8.8 | 6.8.8 |
Betroffene Produkte · Pimcore
| Produkt | Betroffene Versionen |
|---|---|
| Pimcore | vor 6.8.8 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132
- https://github.com/advisories/GHSA-h7f9-cvh5-qw7f
- https://nvd.nist.gov/vuln/detail/CVE-2021-23340