← Back to search

CVE-2022-51022

9.1 CRITICALpublic exploit available

Published 2026-10-22 · Updated 2026-10-22

AI risk analysis

Summary
The YiShaAdmin application (versions 2.2–3.1) contains a path traversal vulnerability in its /admin/File/DownloadFile endpoint, allowing unauthenticated attackers to read and delete arbitrary files on the server by manipulating the filePath parameter with directory traversal sequences.
Exploitability
Exploitation is trivial for remote attackers as it requires no authentication, user interaction, or special conditions—only a network-accessible endpoint.
Blast radius
Successful exploitation could lead to full compromise of confidentiality (via reading sensitive files like /etc/passwd) and availability (via deleting critical system or application files), potentially enabling further attacks such as credential theft or service disruption.
Detection
Defenders should monitor web server access logs for requests to /admin/File/DownloadFile containing path traversal sequences (e.g., ../) in the filePath query parameter, especially when combined with a delete=true parameter; such requests are highly suspicious and likely indicate exploitation attempts.
Prioritized remediation
Upgrade to YiShaAdmin version 3.2 or later, which includes the fix from commit 025b062; if upgrading is not immediately possible, disable or restrict access to the /admin/File/DownloadFile endpoint and remove the delete parameter functionality.
path-traversalunauthenticatedfile-readfile-deletewebappcritical

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weaknesses

CWE-22

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.