CVE-2022-51022 Details
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.
A path traversal vulnerability has been identified in YiShaAdmin versions 2.2 through 3.1, excluding the patched version in commit 025b062. The vulnerability exists in the '/admin/File/DownloadFile' endpoint, where unauthenticated users can manipulate the 'filePath' parameter to read or delete arbitrary files, including sensitive system files like '/etc/passwd' and '/etc/shadow'. The issue arises from insufficient validation of the filePath parameter, allowing directory traversal sequences to bypass restrictions. Exploitation of this vulnerability was first reported by the Shadowserver Foundation on October 20, 2023.
Users can update to YiShaAdmin version 3.1.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Nov 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| YiShaAdmin | >= 2.2, <= 3.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 3, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion