CVE-2022-51022

Source
https://cve.org/CVERecord?id=CVE-2022-51022
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51022.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-51022
Published
2026-10-22T10:57:33Z
Modified
2026-10-23T02:45:08Z
Severity
  • 8.8 (High) CVSS_V4 - 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 CVSS Calculator
Summary
YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51022.json"
}
References

Affected packages

Git / github.com/liukuo362573/yishaadmin

Affected ranges

Type
GIT
Repo
https://github.com/liukuo362573/yishaadmin
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.2"
                },
                {
                    "last_affected":  "3.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "025b0628b1295bd2d9fd6c9b5b82692a345151ef"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "c3b66e66bf6d70a561190cd8da7f4df7b141931d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.2
v3.*
v3.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51022.json"