Skip to content
OpenAdvisories
Medium · 6.9 Public exploit CVE-2022-25842 EUVD-2022-3393GHSA-9hr3-j9mc-xmq2SNYK-JAVA-COMALIBABAONEAGENT-2407874

Arbitrary File Write via Archive Extraction (Zip Slip)

Published May 1, 2022 · Updated Sep 17, 2024 · Assigned by snyk

Description

All versions of package com.alibaba.oneagent:one-java-agent-plugin are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) using a specially crafted archive that holds directory traversal filenames (e.g. ../../evil.exe). The attacker can overwrite executable files and either invoke them remotely or wait for the system or user to call them, thus achieving remote command execution on the victim’s machine.

Affected products

VendorProductAffectedFixed
— com.alibaba.oneagent:one-java-agent-plugin < unspecified unspecified

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.alibaba.oneagent:one-java-agent-plugin < 0.0.2 0.0.2 GHSA-9hr3-j9mc-xmq2

References