CVE-2022-51022
published high CVSS 4.0 · 8.8YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| liukuo362573 | — | YiShaAdmin2.2 through 3.1 (affected · custom) · 025b0628b1295bd2d9fd6c9b5b82692a345151ef (unaffected · git) · Other versions: unknown | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| liukuo362573 | YiShaAdmin | 2.2 through 3.1 (affected · custom)025b0628b1295bd2d9fd6c9b5b82692a345151ef (unaffected · git)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- Fix Commit https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef
- Incomplete Fix https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d
- Nuclei Template https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml
- huntr Report https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128
- VulnCheck Advisory: YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint
Provider assertions
2VulnCheck · cna
YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2aac76213ec15267681aad3bac6790b968bb168bf4b5c4d763d2c99e7f3ccd6b
- Ingested
- 03 Nov 2026, 16:24:23 UTC
- Source record
- Official CVE record