8.8high
CVE-2018-192771 exploit
XXE in PHPSpreadsheet due to encoding issue
Also known as GHSA-xcrg-29h7-h4cj
Published 7 y ago · modified 4 mo ago · JSON
CVSS
8.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
7.8%
percentile 95%
Public exploits
1
Exploit-DB
Summary
securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file
Exploit prediction (EPSS)
7.79% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.
Exploits and detections
- EDB-46050 PhpSpreadsheet < 1.5.0 - XML External Entity (XXE) · webapps · 2018-11-30
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | phpoffice/phpspreadsheet | <1.5.1 | 1.5.1 |
| packagist | phpoffice/phpexcel | <1.8.2 | 1.8.2 |
Classification
- Weakness
- CWE-91 XML Injection
References
- github.com /PHPOffice/PhpSpreadsheet/issues/771 · x_refsource_MISC, x_transferred
- bishopfox.com /news/2018/11/phpoffice-versions/ · x_refsource_MISC, x_transferred
- github.com /MewesK/TwigSpreadsheetBundle/issues/18 · x_refsource_MISC, x_transferred
- drupal.org /sa-contrib-2021-043 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-19277 · advisory
- github.com /PHPOffice/PhpSpreadsheet/pull/780 · web
- github.com /PHPOffice/PHPExcel/commit/2b601574975acfb9d4378a788ed5f2b747958095 · web
- github.com /PHPOffice/PhpSpreadsheet/commit/0f8f071e24ee8b114d894ac172f77dc250e5bfa4 · web
- github.com /FriendsOfPHP/security-advisories/blob/master/phpoffice/phpspreadsheet/CVE-2018-19277.yaml · web
- github.com /PHPOffice/PHPExcel/commits/1.8.2 · web
- github.com /PHPOffice/PhpSpreadsheet · package
- github.com /PHPOffice/PhpSpreadsheet/releases/tag/1.5.1 · web
- bishopfox.com /news/2018/11/phpoffice-versions · web
Sources
- CVE List: CVE-2018-19277
- GitHub Advisory: GHSA-xcrg-29h7-h4cj
- NVD: CVE-2018-19277
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.