CVE-2019-12331
Summary
| CVE | CVE-2019-12331 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-11-07 15:15:00 UTC |
| Updated | 2020-02-10 21:49:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-611
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Phpspreadsheet Project | Phpspreadsheet | All | All | All | All |
| Application | Phpspreadsheet Project | Phpspreadsheet | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PhpSpreadsheet/CHANGELOG.md at master · PHPOffice/PhpSpreadsheet · GitHub | CONFIRM | github.com | Third Party Advisory |
| usd-2019-0046 | usd Herolab | MISC | herolab.usd.de | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.