ZDI-CAN-25456: ZDI-25-045: 7-Zip Mark-of-the-Web Bypass Vulnerability

Published Jan 19, 2025
·
Updated

This vulnerability allows remote attackers to bypass the Mark-of-the-Web protection mechanism on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of archived files. When extracting files from a crafted archive that bears the Mark-of-the-Web, 7-Zip does not propagate the Mark-of-the-Web to the extracted files. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current user.

Other sources

This vulnerability allows remote attackers to bypass the Mark-of-the-Web protection mechanism on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The ZDI has assigned a CVSS rating of 7.0. The following CVEs are assigned: CVE-2025-0411.

ZDI

Affected Software

1 affected component
7-Zip 7-Zip

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade 7-Zip to a version that resolves this vulnerability.

    Patch ZDI-25-045
  2. Compensating control

    When extracting files from crafted archives, treat Mark-of-the-Web bypass behavior as untrusted: avoid extracting archives from untrusted sources and ensure extracted files are handled in a way that does not grant them trust (since 7-Zip does not propagate Mark-of-the-Web to extracted files).

  3. Operational

    If a crafted archive was opened or extracted, review and remediate any files that may have been affected; assume arbitrary code could have executed in the context of the current user.

Event History

Jan 19, 2025
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Advisory Published
via ZDI·06:00 AM

Frequently Asked Questions

1

What is the severity of ZDI-CAN-25456?

The severity of ZDI-CAN-25456 is significant, as it allows remote attackers to bypass important security mechanisms.

2

How do I fix ZDI-CAN-25456?

To fix ZDI-CAN-25456, ensure you have the latest version of 7-Zip installed, which includes patches for known vulnerabilities.

3

What types of attacks can occur due to ZDI-CAN-25456?

ZDI-CAN-25456 can lead to attacks where a user is tricked into visiting a malicious page or opening a harmful file.

4

Is user interaction required to exploit ZDI-CAN-25456?

Yes, user interaction is required to exploit ZDI-CAN-25456, as the target must open a malicious file or visit a malicious webpage.

5

Which versions of 7-Zip are affected by ZDI-CAN-25456?

ZDI-CAN-25456 affects all installations of 7-Zip that have not been updated with the latest security patches.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203