Path Traversal in Alibabagroup One-Java-Agent
CVE-2022-25842
- CVSS v3
- 6.9 Medium
- Public exploits
- None known
- EPSS
- 0.039 · 90.5th percentile
- Published
- 2022-05-01
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.039, 90.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Alibabagroup One-Java-Agent
- Com.alibaba.oneagent:one-Java-Agent-Plugin — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (shoucheng3/alibaba__one-java-agent_CVE-2022-25842_0-0-1). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874 (Third Party Advisory)
- github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050… (Exploit, Third Party Advisory)
- github.com/alibaba/one-java-agent/pull/29 (Patch, Third Party Advisory)
- github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c1719… (Third Party Advisory)