7.1high
Local File Inclusion
- Severity
- 7.1high CVSS:3.1 by snyk
- Exploit likelihood
- 1.33% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-h7f9-cvh5-qw7fSNYK-PHP-PIMCOREPIMCORE-1070132
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
| Product or package | Versions | Reported by |
|---|---|---|
| pimcore/pimcore | from unspecified before 6.8.8 | CVE List |
| pimcore/pimcore (Packagist) | before 6.8.8 | GitHub Advisory Database |
| pimcore pimcore | before 6.8.8 | NVD |
All scores
| snyk | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta al paquete pimcore/pimcore versiones anteriores a 6.8.8. Se presenta una vulnerabilidad de inclusión de archivo local en la función downloadCsvAction de la clase CustomReportController (bundles/AdminBundle/Controller/Reports/CustomReportController.php). Un usuario autenticado puede acceder a esta función con una petición GET en el siguiente endpoint: /admin/reports/custom-report/download-csv?exportFile=&91;filename]. Dado que la variable exportFile no está saneada, un atacante puede explotar una vulnerabilidad de inclusión de archivos locales
References
| https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 | exploit, patch, third-party-advisory, web | |
| https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 | broken-link, third-party-advisory, web | |
| https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23340 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23340 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h7f9-cvh5-qw7f changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-23340 changed 2026-06-17 | Public domain |