CVE-2022-51022 YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
HighCVSS 8.8
EPSS 0.79%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| liukuo362573/yishaadmin | >= 2.2, <= 3.1 | after 3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| liukuo362573/yishaadmin | >= 2.2, <= 3.1 | No fix listed |
References
- huntr Report exploit technical-description
- Fix Commit patch
- Incomplete Fix patch
- Nuclei Template technical-description
- VulnCheck Advisory: YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint third-party-advisory
- ENISA EUVD EUVD-2022-56066 third-party-advisory