PT-2021-15444

CVE-2021-23340

·

Published

2021-02-18

·

Updated

2021-02-25

Description by

CVSS 3.1
7.1
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions pimcore/pimcore versions prior to 6.8.8
Description A Local File Inclusion issue exists in the downloadCsvAction function of the CustomReportController class. This can be reached by an authenticated user through a GET request at the endpoint "/admin/reports/custom-report/download-csv?exportFile=filename". The exportFile variable is not sanitized, allowing an attacker to exploit this issue.
Recommendations For versions prior to 6.8.8, update to version 6.8.8 or later to resolve the issue. As a temporary workaround, consider disabling the downloadCsvAction function in the CustomReportController class until a patch is available. Restrict access to the /admin/reports/custom-report/download-csv endpoint to minimize the risk of exploitation. Avoid using the exportFile variable in the affected API endpoint until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-H7F9-CVH5-QW7F
SNYK-PHP-PIMCOREPIMCORE-1070132
Found an issue in the description? Have something to add? Feel free to write us 👾