PRIOn Logo

CVE-2019-12331 Xxe

Routine
Remediate Within 6 Months

CVE Information

Original CVE data

Published:
Updated:

PHPOffice PhpSpreadsheet before 1.8.0 has an XXE issue. The XmlScanner decodes the sheet1.xml from an .xlsx to utf-8 if something else than UTF-8 is declared in the header. This was a security measurement to prevent CVE-2018-19277 but the fix is not sufficient. By double-encoding the the xml payload to utf-7 it is possible to bypass the check for the string ‚<!ENTITY‘ and thus allowing for an xml external entity processing (XXE) attack.

CWE: CWE-611
CVSS v26.8
AV:N/AC:M/AU:N/C:P/I:P/A:P
CVSS v38.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
https://herolab.usd.de/security-advisories/usd-2019-0046/
https://github.com/PHPOffice/PhpSpreadsheet/blob/master/CHANGELOG.md
Affected Vendors

Phpoffice - (1)

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Xxe

CVSS Scores as calculated by PRIOnengine
CVSS v27.5
AV:N/AC:L/AU:N/C:P/I:P/A:P
CVSS v39.8
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

Vulnerability weakness type is in the top 25 CWEs according to MITRE. View Mitre Top 25 CWEs

Exploits

No exploit code is reported to exist.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1565 - Data Manipulation
T1552 - Unsecured Credentials
T1485 - Data Destruction
T1201 - Password Policy Discovery
T1190 - Exploit Public-Facing Application
T1119 - Automated Collection
T1083 - File and Directory Discovery
T1078 - Valid Accounts
T1059 - Command and Scripting Interpreter
T1020 - Automated Exfiltration
T1005 - Data from Local System

Compliance Impact

How the submited vulnerability affects compliance

PCI DSS v3.2.1-6.5.8 - Improper Access Control

Web Application Security Frameworks

Applicable if the issue likely affects a web application

WASC-43 - XML External Entities