Attackers Can Leak Sensitive Information via Specially Crafted XLSX Files
CVE-2024-45290
7.5HIGH
Summary
A vulnerability in PHPSpreadsheet allows attackers to create crafted XLSX files that link media from external URLs. When users open these files, the library attempts to retrieve image size by accessing the provided URLs. By manipulating php://filter
URLs, an attacker can expose sensitive information from any file on the server, including AWS IAM credentials. It is crucial for all users of PHPSpreadsheet to upgrade to versions 1.29.2, 2.1.1, or 2.3.0, as there are currently no known workarounds for this security issue.
Affected Version(s)
PhpSpreadsheet < 1.29.2 < 1.29.2
PhpSpreadsheet >= 2.0.0, < 2.1.1 < 2.0.0, 2.1.1
PhpSpreadsheet >= 2.2.0, < 2.3.0 < 2.2.0, 2.3.0
References
CVSS V3.1
Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published