SUSE VEX
SUSEVEX-CVE-2018-1000888
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise High Performance Computing 12 | apache2-mod_php5 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | apache2-mod_php7 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | apache2-mod_php72 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | apache2-mod_php74 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-bcmath | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-bz2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-calendar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-ctype | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-curl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-dba | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-dom | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-enchant | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-exif | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-fastcgi | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-fileinfo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-fpm | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-ftp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-gd | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-gettext | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-gmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-iconv | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-imap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-intl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-json | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-ldap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-mbstring | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-mcrypt | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-mysql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-odbc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-opcache | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-openssl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-pcntl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-pdo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-pear | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-pgsql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-phar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-posix | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-pspell | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-shmop | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-snmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-soap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-sockets | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-sqlite | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-suhosin | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-sysvmsg | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-sysvsem | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-sysvshm | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-tokenizer | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-wddx | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-xmlreader | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-xmlrpc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-xmlwriter | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-xsl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-zip | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php5-zlib | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-bcmath | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-bz2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-calendar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-ctype | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-curl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-dba | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-dom | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-enchant | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-exif | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-fastcgi | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-fileinfo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-fpm | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-ftp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-gd | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-gettext | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-gmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-iconv | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-imap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-intl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-json | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-ldap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-mbstring | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-mcrypt | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-mysql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-odbc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-opcache | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-openssl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pcntl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pdo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pear | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pear-Archive_Tar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pgsql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-phar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-posix | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-pspell | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-shmop | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-snmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-soap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-sockets | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-sqlite | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-sysvmsg | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-sysvsem | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-sysvshm | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-tokenizer | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-wddx | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-xmlreader | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-xmlrpc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-xmlwriter | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-xsl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-zip | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php7-zlib | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-bcmath | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-bz2 | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-calendar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-ctype | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-curl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-dba | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-dom | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-enchant | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-exif | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-fastcgi | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-fileinfo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-fpm | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-ftp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-gd | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-gettext | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-gmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-iconv | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-imap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-intl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-json | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-ldap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-mbstring | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-mysql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-odbc | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-opcache | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-openssl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pcntl | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pdo | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pear | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pear-Archive_Tar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pgsql | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-phar | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-posix | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-pspell | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-readline | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-shmop | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-snmp | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-soap | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-sockets | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-sodium | All versions, no fix yet |
| SUSE:Linux Enterprise High Performance Computing 12 | php72-sqlite | All versions, no fix yet |
And 2382 more package entries. The full record is available from the API.