CVE-2018-1000888

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-1000888
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1000888.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1000888
Aliases
Related
Published
2018-12-28T16:29:01Z
Modified
2024-09-11T02:00:04Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

PEAR ArchiveTar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the ArchiveTar class. There are several file operations with $v_header['filename'] as parameter (such as fileexists, isfile, isdir, 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 ArchiveTar 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.

References

Affected packages

Debian:11 / php-pear

Package

Name
php-pear
Purl
pkg:deb/debian/php-pear?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.10.6+submodules+notgz-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php-pear

Package

Name
php-pear
Purl
pkg:deb/debian/php-pear?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.10.6+submodules+notgz-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / php-pear

Package

Name
php-pear
Purl
pkg:deb/debian/php-pear?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.10.6+submodules+notgz-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}