NN-2023:16-01

Path traversal via 'zip slip' in Arc before v1.6.0

Last update: 2024-05-20

Advisory IDNN-2023:16-01
TopicPath traversal via 'zip slip' in Arc before v1.6.0
CWE ImpactCWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Issue date2024-05-15
AffectsArc < v1.6.0
CVE Name(s)CVE-2023-5938
CVSS DetailsCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS Score8.9 (CVSS v4.0)
8.0 (CVSS v3.1)
CVE Risk LevelHigh (CVSS v4.0)
High (CVSS v3.1)
Risk Level for Nozomi customersMedium

Summary

Multiple functions use archives without properly validating the filenames therein, rendering the application vulnerable to path traversal via 'zip slip' attacks.

Impact

An administrator able to provide tampered archives to be processed by the affected versions of Arc may be able to have arbitrary files extracted to arbitrary filesystem locations. Leveraging this issue, an attacker may be able to overwrite arbitrary files on the target filesystem and cause critical impacts on the system (e.g., arbitrary command execution on the victim’s machine).

Affected Products

Arc < v1.6.0

Workarounds and Mitigations

N/A

Solutions

Upgrade to v1.6.0 or later.

Modification History

2024-05-15: Initial revision
2024-05-20: Added CVSS v4.0 scoring where applicable

Related Links

Acknowledgements

We thank the following parties for their efforts:

  • Gabriele Quagliarella of Nozomi Networks Security Research team for finding this issue during an internal penetration testing session

Contact

Nozomi Networks Product Security team can be reached at prodsec@nozominetworks.com.
More contact details on the PSIRT page.