YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
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.
CVE-2022-51022
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2022-51022
YiShaAdmin
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/liukuo362573/YiShaAdmin",
"vendor": "liukuo362573",
"product": "YiShaAdmin",
"versions": [
{
"status": "affected",
"version": "2.2",
"versionType": "custom",
"lessThanOrEqual": "3.1"
},
{
"status": "unaffected",
"version": "025b0628b1295bd2d9fd6c9b5b82692a345151ef",
"versionType": "git"
}
],
"packageURL": "pkg:github/liukuo362573/YiShaAdmin",
"defaultStatus": "unknown"
}
]- Related CVEs
- CVE-2022-51022
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #50162 · Revision 1
- Added to Heist Feed
- Publisher date