CVE-2022-51022
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2022-51022 is a critical vulnerability with a CVSS score of 9.1 affecting the target software. Authentication can be bypassed allowing unauthenticated access. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
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.
Attack Chain
Attacker identifies authentication endpoint and tests for bypass conditions
Attacker exploits CVE-2022-51022 authentication flaw to gain unauthorized access without valid credentials
Attacker enumerates accessible resources, users, and configurations
Attacker exfiltrates sensitive data accessible without proper authorization
MITRE ATT&CK Techniques
Indicators of Compromise
| Type | Value | Description | |
|---|---|---|---|
| user_agent | Mozilla/5.0 (compatible; exploit/1.0) |
Generic exploit scanner user agent pattern | |
| url | /api/vuln-endpoint?payload=<malicious> |
Exploit attempt against application endpoint — monitor access logs for anomalous params |
Remediation
Quick Facts
| CVE ID | CVE-2022-51022 |
| CVSS Score | 9.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| Published | 2026-10-22 |
| Exploited | No |
| CISA KEV | No |
| PoC | Available |
References
- https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1…
- https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf…
- https://github.com/projectdiscovery/nuclei-templates/blob/ma…
- https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908…
- https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthen…