Path Traversal in Pimcore
CVE-2021-23340
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.013 (69.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 69.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
- Pimcore
- Pimcore/pimcore — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 (Exploit, Patch, Third Party Advisory)
- github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/C… (Third Party Advisory, Broken Link)
- github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-23340?
- CVE-2021-23340 is a high-severity vulnerability in Pimcore, classified under Path Traversal. CVSS score: 7.1/10. Published 2021-02-18.
- How severe is CVE-2021-23340?
- High severity. CVSS v3 base score is 7.1 out of 10.