CVE-2021-23340
JSON

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 packageVersionsReported by
pimcore/pimcorefrom unspecified before 6.8.8CVE List
pimcore/pimcore (Packagist)before 6.8.8GitHub Advisory Database
pimcore pimcorebefore 6.8.8NVD

All scores

snyk7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD5.5medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-23340 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-h7f9-cvh5-qw7f changed 2026-09-10CC-BY-4.0
NVDCVE-2021-23340 changed 2026-06-17Public domain