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.
References
Link | Resource |
---|---|
https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 | Broken Link Third Party Advisory |
https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 | Exploit Patch Third Party Advisory |
Configurations
History
25 Feb 2021, 17:21
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 5.5
v3 : 7.1 |
CPE | cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:* | |
CWE | CWE-22 | |
References | (MISC) https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 - Patch, Third Party Advisory | |
References | (MISC) https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 - Broken Link, Third Party Advisory | |
References | (MISC) https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 - Exploit, Patch, Third Party Advisory |
18 Feb 2021, 15:50
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-02-18 15:15
Updated : 2023-12-10 13:41
NVD link : CVE-2021-23340
Mitre link : CVE-2021-23340
CVE.ORG link : CVE-2021-23340
JSON object : View
Products Affected
pimcore
- pimcore
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')