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: Resolved

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
SUSE Linux Enterprise Module for Web Scripting 15 SP3
  • apache2-mod_php7 >= 7.4.6-3.17.1
  • php7 >= 7.4.6-3.17.1
  • php7-bcmath >= 7.4.6-3.17.1
  • php7-bz2 >= 7.4.6-3.17.1
  • php7-calendar >= 7.4.6-3.17.1
  • php7-ctype >= 7.4.6-3.17.1
  • php7-curl >= 7.4.6-3.17.1
  • php7-dba >= 7.4.6-3.17.1
  • php7-devel >= 7.4.6-3.17.1
  • php7-dom >= 7.4.6-3.17.1
  • php7-enchant >= 7.4.6-3.17.1
  • php7-exif >= 7.4.6-3.17.1
  • php7-fastcgi >= 7.4.6-3.17.1
  • php7-fileinfo >= 7.4.6-3.17.1
  • php7-fpm >= 7.4.6-3.17.1
  • php7-ftp >= 7.4.6-3.17.1
  • php7-gd >= 7.4.6-3.17.1
  • php7-gettext >= 7.4.6-3.17.1
  • php7-gmp >= 7.4.6-3.17.1
  • php7-iconv >= 7.4.6-3.17.1
  • php7-intl >= 7.4.6-3.17.1
  • php7-json >= 7.4.6-3.17.1
  • php7-ldap >= 7.4.6-3.17.1
  • php7-mbstring >= 7.4.6-3.17.1
  • php7-mysql >= 7.4.6-3.17.1
  • php7-odbc >= 7.4.6-3.17.1
  • php7-opcache >= 7.4.6-3.17.1
  • php7-openssl >= 7.4.6-3.17.1
  • php7-pcntl >= 7.4.6-3.17.1
  • php7-pdo >= 7.4.6-3.17.1
  • php7-pgsql >= 7.4.6-3.17.1
  • php7-phar >= 7.4.6-3.17.1
  • php7-posix >= 7.4.6-3.17.1
  • php7-readline >= 7.4.6-3.17.1
  • php7-shmop >= 7.4.6-3.17.1
  • php7-snmp >= 7.4.6-3.17.1
  • php7-soap >= 7.4.6-3.17.1
  • php7-sockets >= 7.4.6-3.17.1
  • php7-sodium >= 7.4.6-3.17.1
  • php7-sqlite >= 7.4.6-3.17.1
  • php7-sysvmsg >= 7.4.6-3.17.1
  • php7-sysvsem >= 7.4.6-3.17.1
  • php7-sysvshm >= 7.4.6-3.17.1
  • php7-tidy >= 7.4.6-3.17.1
  • php7-tokenizer >= 7.4.6-3.17.1
  • php7-xmlreader >= 7.4.6-3.17.1
  • php7-xmlrpc >= 7.4.6-3.17.1
  • php7-xmlwriter >= 7.4.6-3.17.1
  • php7-xsl >= 7.4.6-3.17.1
  • php7-zip >= 7.4.6-3.17.1
  • php7-zlib >= 7.4.6-3.17.1
SUSE Linux Enterprise Module for additional PackageHub packages 15 SP2
  • php7-embed >= 7.4.6-1.11
SUSE Linux Enterprise Module for additional PackageHub packages 15 SP3
  • php7-embed >= 7.4.6-3.17.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Module for Web and Scripting 12 php5 In progress
SUSE Linux Enterprise Module for Web and Scripting 12 php7 In progress
SUSE Linux Enterprise Module for Web and Scripting 12 php72 In progress
SUSE Linux Enterprise Module for Web and Scripting 12 php74 In progress
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 php7 Already fixed