cesarsotovalero / zip-slip-exploit-example

Example of Zip Slip vulnerability exploitation
https://www.cesarsotovalero.net/blog/zip-slip-attacks.html
16 stars 11 forks source link

CVE-2018-1002201 (Medium) detected in zt-zip-1.12.jar #23

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2018-1002201 - Medium Severity Vulnerability

Vulnerable Library - zt-zip-1.12.jar

The project is intended to have a small, easy and fast library to process ZIP archives. Either create, modify or explode them. On disk or in memory.

Library home page: http://zeroturnaround.com/

Path to dependency file: /pom.xml

Path to vulnerable library: /zeroturnaround/zt-zip/1.12/zt-zip-1.12.jar

Dependency Hierarchy: - :x: **zt-zip-1.12.jar** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

zt-zip before 1.13 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Publish Date: 2018-07-25

URL: CVE-2018-1002201

CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-qcf3-9vmh-xw4r

Release Date: 2022-10-03

Fix Resolution: 1.13


mend-for-github-com[bot] commented 6 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 6 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.