CVE-2018-1000888
Summary
| CVE | CVE-2018-1000888 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-12-28 16:29:00 UTC |
| Updated | 2020-06-15 18:15:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Bug #23782 :: Prevent phar:// files from being extracted |
CONFIRM |
pear.php.net |
Broken Link, Third Party Advisory |
| New PHP Exploitation Technique Added |
MISC |
blog.ripstech.com |
Exploit, Third Party Advisory |
| PEAR Archive_Tar < 1.4.4 - PHP Object Injection - PHP webapps Exploit |
EXPLOIT-DB |
www.exploit-db.com |
Exploit, Third Party Advisory, VDB Entry |
| USN-3857-1: PEAR vulnerability | Ubuntu security notices |
UBUNTU |
usn.ubuntu.com |
Third Party Advisory |
| Archive_Tar |
CONFIRM |
pear.php.net |
Broken Link, Third Party Advisory |
| cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulne... |
MISC |
cdn2.hubspot.net |
Exploit, Technical Description, Third Party Advisory |
| Debian -- Security Information -- DSA-4378-1 php-pear |
DEBIAN |
www.debian.org |
Third Party Advisory |
| PEAR Archive_Tar: Remote code execution vulnerability (GLSA 202006-14) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| [SECURITY] [DLA 1674-1] php5 security update |
MLIST |
lists.debian.org |
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.
Legacy QID Mappings
- 500872 Alpine Linux Security Update for drupal7
- 504696 Alpine Linux Security Update for drupal7