Upstream information

CVE-2018-1000888 at MITRE

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.

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3
No SUSE Bugzilla entries cross referenced.

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Web Scripting 15 SP2
  • apache2-mod_php7 >= 7.4.6-1.11
  • php7 >= 7.4.6-1.11
  • php7-bcmath >= 7.4.6-1.11
  • php7-bz2 >= 7.4.6-1.11
  • php7-calendar >= 7.4.6-1.11
  • php7-ctype >= 7.4.6-1.11
  • php7-curl >= 7.4.6-1.11
  • php7-dba >= 7.4.6-1.11
  • php7-devel >= 7.4.6-1.11
  • php7-dom >= 7.4.6-1.11
  • php7-enchant >= 7.4.6-1.11
  • php7-exif >= 7.4.6-1.11
  • php7-fastcgi >= 7.4.6-1.11
  • php7-fileinfo >= 7.4.6-1.11
  • php7-fpm >= 7.4.6-1.11
  • php7-ftp >= 7.4.6-1.11
  • php7-gd >= 7.4.6-1.11
  • php7-gettext >= 7.4.6-1.11
  • php7-gmp >= 7.4.6-1.11
  • php7-iconv >= 7.4.6-1.11
  • php7-intl >= 7.4.6-1.11
  • php7-json >= 7.4.6-1.11
  • php7-ldap >= 7.4.6-1.11
  • php7-mbstring >= 7.4.6-1.11
  • php7-mysql >= 7.4.6-1.11
  • php7-odbc >= 7.4.6-1.11
  • php7-opcache >= 7.4.6-1.11
  • php7-openssl >= 7.4.6-1.11
  • php7-pcntl >= 7.4.6-1.11
  • php7-pdo >= 7.4.6-1.11
  • php7-pgsql >= 7.4.6-1.11
  • php7-phar >= 7.4.6-1.11
  • php7-posix >= 7.4.6-1.11
  • php7-readline >= 7.4.6-1.11
  • php7-shmop >= 7.4.6-1.11
  • php7-snmp >= 7.4.6-1.11
  • php7-soap >= 7.4.6-1.11
  • php7-sockets >= 7.4.6-1.11
  • php7-sodium >= 7.4.6-1.11
  • php7-sqlite >= 7.4.6-1.11
  • php7-sysvmsg >= 7.4.6-1.11
  • php7-sysvsem >= 7.4.6-1.11
  • php7-sysvshm >= 7.4.6-1.11
  • php7-tidy >= 7.4.6-1.11
  • php7-tokenizer >= 7.4.6-1.11
  • php7-xmlreader >= 7.4.6-1.11
  • php7-xmlrpc >= 7.4.6-1.11
  • php7-xmlwriter >= 7.4.6-1.11
  • php7-xsl >= 7.4.6-1.11
  • php7-zip >= 7.4.6-1.11
  • php7-zlib >= 7.4.6-1.11