CVE-2018-1000888: canonical ubuntu_linux Deserialization of Untrusted Data
Vulnerability summary
CVE-2018-1000888 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in canonical ubuntu_linux. EPSS estimates a 19.13% chance of exploitation in the next 30 days, higher than 97.3% of scored vulnerabilities. 3 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 27-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with `$v_header['filename']` as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with `phar://[path_to_malicious_phar_file]` as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because `@unlink($this->_temp_tarname)` is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
19.13%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
0.00 pp
From 19.13% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
3 foundExploit Reference (cdn2.hubspot.net)
Maturity: unknown
Exploit Reference (blog.ripstech.com)
Maturity: unknown
PEAR Archive_Tar < 1.4.4 - PHP Object Injection
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian3 products
- php-pear< 1:1.10.6+submodules+notgz-1.1 | < 1:1.10.1+submodules+notgz-9+deb9u1
- php5< 5.6.39+dfsg-0+deb8u2
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 18.10
Php1 product
- pear_archive_tar≤ 1.4.3
Ubuntu1 product
- php-pear< 1:1.10.1+submodules+notgz-6ubuntu0.1 | < 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1
4 vendors · 6 products
References
14 links- lists.debian.org/debian-lts-announce/2019/02/msg00020.htmlMailing ListX Refsource MLISTThird Party Advisory
- blog.ripstech.com/2018/new-php-exploitation-technique/X Refsource MISCExploitThird Party AdvisoryREPORT