LiveActive security incident?Get immediate response
CVE Record

CVE-2021-23340: Local File Inclusion

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Pimcore versions before 6.8.8 allowed an authenticated user to make the custom report CSV download feature read unintended local files. This is primarily a confidentiality risk because sensitive server-side files could be exposed to a logged-in user with access to the affected admin function.

Executive priority

Prioritize remediation for any production Pimcore admin deployment, especially if the admin interface is reachable from broad networks. The issue requires authentication, but the potential exposure of local files makes it a high-severity data protection concern.

Technical view

CVE-2021-23340 is a local file inclusion issue in pimcore/pimcore before 6.8.8. The CustomReportController downloadCsvAction accepted an unsanitized exportFile parameter on the admin custom-report CSV download route. The CVSS 3.1 score is 7.1, with low attack complexity and required low privileges.

Likely exposure

Exposure is limited to Pimcore deployments below 6.8.8 where an authenticated user can reach the admin custom report CSV download action. Internet exposure of the admin interface increases business risk, but the sources do not claim unauthenticated access.

Exploitation context

The provided bundle does not show CISA KEV listing or confirmed active exploitation. The vulnerability is reachable over the network by an authenticated user, and public references identify the affected function and patch, so defenders should treat it as practical to validate and prioritize.

Researcher notes

The key evidence is the vulnerable downloadCsvAction, unsanitized exportFile handling, affected range before 6.8.8, and upstream fix commit. Sources do not provide CWE mapping, affected CPEs, or confirmed exploitation. Avoid assuming impact beyond local file inclusion and limited integrity impact stated by CVSS.

Mitigation direction

  • Upgrade pimcore/pimcore to 6.8.8 or a later fixed release.
  • Apply the referenced upstream patch if direct upgrading is not immediately possible.
  • Restrict Pimcore admin access to trusted networks and authenticated staff.
  • Review admin roles allowed to use custom reports and CSV export.
  • Monitor vendor guidance for any newer remediation notes.

Validation and detection

  • Confirm deployed Pimcore versions from dependency manifests and runtime inventory.
  • Check whether any deployment runs pimcore/pimcore below 6.8.8.
  • Verify access to the admin custom report CSV export is restricted.
  • Review logs for unusual custom-report CSV download requests.
  • Confirm remediation by retesting version inventory after upgrade.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-23340 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C2.84.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2021-23340Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/apimcore/pimcoreunspecifiedListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.