Advisory

GHSA-h7f9-cvh5-qw7f

Also known as: CVE-2021-23340, SNYK-PHP-PIMCOREPIMCORE-1070132

Summary

Path traversal in pimcore/pimcore

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-02-25 16:32 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

pimcore/pimcore

Packagist · All systems

Affected

  • introduced 0, fixed 6.8.8 (ecosystem)

Fixed versions

6.8.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences