What’s Vulnerable › Vulnerabilities

CVE-2022-51022: YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint

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 products

References

Get alerted when CVE-2022-51022 or the next vulnerability affects your stack