CVE-2022-51022
JSON

8.8high

YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint

Severity
8.8high CVSS:4.0 by VulnCheck
Exploit likelihood
1.01% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

YiShaAdmin 2.2 through 3.1, fixed in commit 025b062, contains an unauthenticated path traversal vulnerability in the /admin/File/DownloadFile endpoint that allows attackers to read and delete arbitrary files via the filePath parameter. Attackers can send crafted GET requests with directory traversal sequences in filePath and set the delete parameter to read or remove system files like etc/passwd. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-20.

Affected

Product or packageVersionsReported by
liukuo362573 YiShaAdminfrom 2.2 up to 3.1
Not affected: 025b0628b1295bd2d9fd6c9b5b82692a345151ef
CVE List

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

YiShaAdmin 2.2 through 3.1, fixed in commit 025b062, contains an unauthenticated path traversal vulnerability in the /admin/File/DownloadFile endpoint that allows attackers to read and delete arbitrary files via the filePath parameter. Attackers can send crafted GET requests with directory traversal sequences in filePath and set the delete parameter to read or remove system files like etc/passwd. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-20.

NVD (es)

YiShaAdmin versiones 2.2 hasta la versión 3.1 incluida, corregido en el commit 025b062, contiene una vulnerabilidad de salto de ruta no autenticada en el endpoint /admin/File/DownloadFile que permite a los atacantes leer y eliminar archivos arbitrarios mediante el parámetro filePath. Los atacantes pueden enviar solicitudes GET manipuladas con secuencias de salto de ruta en filePath y establecer el parámetro delete para leer o eliminar archivos del sistema como etc/passwd. La evidencia de explotación fue observada por primera vez por la Shadowserver Foundation el 2023-10-20.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-51022 changed 2026-11-03CVE Terms of Use
NVDCVE-2022-51022 changed 2026-11-10Public domain