https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyNjYyIiwiaGFzaCI6ImIzOTcxYTU4LTFlN2QtNDM3ZC1hNDIzLWEzYzYyMzU1NTZlNyJ9
1-800-691-1991 | 9am - 8pm ET
EN

Zip Slip Vulnerability

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.

    KB ID:
    2662
    Product:
    Veeam Backup & Replication
    Version:
    8.x, 9.x
    Published:
    2018-06-06
    Last Modified:
    2020-08-13
    Please rate how helpful this article was to you:
    5 out of 5 based on 1 ratings
    Thank you for helping us improve!
    An error occurred during voting. Please try again later.

    Couldn't find what you were looking for?

    Below you can submit an idea for a new knowledge base article.
    Report a typo on this page:

    Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

    Spelling error in text

    Knowledge base content request
    By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

    ty icon

    Thank you!

    We have received your request and our team will reach out to you shortly.

    OK

    error icon

    Oops! Something went wrong.

    Please go back try again later.