NetSight
medium6.9

CVE-2022-25842

Path Traversal in com.alibaba.oneagent:one-java-agent-plugin

Impact

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 packages

EcosystemPackageAffectedFixed in
mavencom.alibaba.oneagent:one-java-agent-plugin< 0.0.20.0.2

Affected products

VendorProductAffected versions
AlibabagroupOne-Java-Agent
All versions

Weakness classification

References