CVE-2018-1000888PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file…
- 8.8HighCVSS base score
- 19.1%Exploitation in 30 daysEPSS · top 2.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- PEAR Archive_Tar < 1.4.4 - PHP Object Injection (Exploit-DB entry) (opens in a new tab)
EDB-ID 46108webapps, phppublished 10 Jan 2019Not verified
References tagged exploit1 reference
- 46108 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 7 days later
· 7 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 19.1% · top 2.6% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistpear/archive_tarGHSA-3q76-jq6m-573p (opens in a new tab)
References
References9
- [debian-lts-announce] 20190212 [SECURITY] [DLA 1674-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3857-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-4378 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 46108 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://pear.php.net/package/Archive_Tar/download/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf (opens in a new tab)x_refsource_MISCx_transferred
- https://blog.ripstech.com/2018/new-php-exploitation-technique/ (opens in a new tab)x_refsource_MISCx_transferred
- https://pear.php.net/bugs/bug.php?id=23782 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-202006-14 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-1941 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3q76-jq6m-573p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-1000888)Record last updated .