Zip Slip Vulnerability

KB ID: 2662
Product: Veeam Backup & Replication
Version: 8.x, 9.x
Published:
Last Modified: 2018-07-13

Challenge

Veeam is aware of the Zip Slip Vulnerability, which affects jobs with the guest file system indexing option enabled.

Zip Slip is an arbitrary file overwrite vulnerability in multiple ZIP decompression algorithm implementations that affects thousands of software products across many ecosystems. The vulnerability is exploited using a specially crafted zip archive that holds path traversal filenames. A path traversal filename is a malicious filename that when chained to the target extraction directory, results in the final path existing outside of the target folder . For instance, if a zip archive were to contain a file called "../../file.exe", it would break out of the target folder when extracted.

We highly recommend patching this vulnerability as soon as possible, as vulnerable code samples are actively being hand crafted and shared in developer communities for all major platforms.

Cause

Zip library (DotNetZip) CVE-2018-1002205

Solution

A hotfix for Zip Slip and another similar vulnerability in guest file system indexing functionality is available for the following versions of Veeam Backup & Replication:

NB! The hotfix is already included in 9.5 update 3a!

The hotfix contains the following files: Ionic.Zip.dll and Veeam.Backup.Common.dll

Steps to apply the hotfix:

This hotfix is to be applied to the Veeam Backup Server.

1) Stop all Veeam jobs.
2) Stop all Veeam services (PowerShell: gsv Veeam* | spsv)
3) On the Veeam server, browse to C:\Program Files\Veeam\Backup and Replication\Backup Catalog

Find Ionic.Zip.dll and rename to Ionic.Zip.dll_Original
Find Veeam.Backup.Common.dll and rename to Veeam.Backup.Common.dll_Original

Copy the Ionic.Zip.dll and Veeam.Backup Common.dll from the hotfix bundle and copy to C:\Program Files\Veeam\Backup and Replication\Backup Catalog

4) On the Veeam server, browse to C:\Program Files\Veeam\Backup and Replication\Enterprise Manager

Find Ionic.Zip.dll and rename to Ionic.Zip.dll_Original
Find Veeam.Backup.Common.dll and rename to Veeam.Backup.Common.dll_Original

Copy the Ionic.Zip.dll and Veeam.Backup Common.dll from the hotfix bundle and copy to C:\Program Files\Veeam\Backup and Replication\Enterprise Manager


5) Be sure that you have renamed and replaced the dll files found in the following two folders with the dlls found in the hotfix:
C:\Program Files\Veeam\Backup and Replication\Backup Catalog
C:\Program Files\Veeam\Backup and Replication\Enterprise Manager

6) Start all Veeam services (PowerShell: gsv Veeam* | sasv)

 

    More Information

    Note: The only known angle of attack for leveraging these vulnerabilities against Veeam Backup & Replication involves Window and Linux guest file system indexing functionality. As such, you don’t have to install this hotfix unless you have guest file system indexing enabled in any of your Veeam backup jobs.

    Please be aware that we’re making changes which will restrict access to product updates for users without an active contract.

    OK

    Rate the quality of this KB article: 
    4.4 out of 5 based on 14 ratings

    Couldn't find what you were looking for?

    Below you can submit an idea for a new knowledge base article.

    Request new content