CWE
59 434 22
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-1000544: Malicious File Upload

First published: Tue Jun 19 2018(Updated: )

A vulnerability has been found in the way developers have implemented the archive extraction of files. An arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar,xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder. Of course if an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily. This affects multiple libraries that lacks of a high level APIs that provide the archive extraction functionality. References: <a href="https://snyk.io/research/zip-slip-vulnerability">https://snyk.io/research/zip-slip-vulnerability</a>

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/rubyzip<1.2.2
1.2.2
Rubyzip Project Rubyzip<=1.2.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Redhat Cloudforms=4.6
rubygems/rubyzip<=1.2.1
1.2.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-1000544?

    CVE-2018-1000544 is a Directory Traversal vulnerability in the rubyzip gem, specifically in the Zip::File component.

  • What is the severity of CVE-2018-1000544?

    CVE-2018-1000544 has a severity score of 9.8, which is considered critical.

  • How can CVE-2018-1000544 be exploited?

    CVE-2018-1000544 can be exploited if a site allows uploading of .zip files. An attacker can upload a malicious file that can lead to arbitrary file write on the filesystem.

  • Which versions of the rubyzip gem are affected by CVE-2018-1000544?

    Versions 1.2.1 and earlier of the rubyzip gem are affected by CVE-2018-1000544.

  • How can I fix CVE-2018-1000544?

    To fix CVE-2018-1000544, update the rubyzip gem to version 1.2.2 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203