{"affected":[{"defaultStatus":"unknown","ecosystem":"github","packageName":"liukuo362573/YiShaAdmin","product":"YiShaAdmin","source":"CNA: VulnCheck","vendor":"liukuo362573","versions":[{"lessThanOrEqual":"3.1","status":"affected","version":"2.2","versionType":"custom"},{"status":"unaffected","version":"025b0628b1295bd2d9fd6c9b5b82692a345151ef","versionType":"git"}]}],"cveId":"CVE-2022-51022","cwes":["CWE-22"],"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.","epss":{"date":"2026-11-04","percentile":0.565,"score":0.00794},"exploits":[{"kind":"exploit","source":"CNA: VulnCheck","url":"https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128"}],"kev":null,"metrics":[{"score":8.8,"severity":"high","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":9.1,"severity":"critical","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},{"score":8.8,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":9.1,"severity":"critical","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}],"modifiedAt":1793726268620,"publishedAt":1792666653205,"references":[{"source":"CNA: VulnCheck","tags":["technical-description","exploit"],"url":"https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d"}],"revision":"891e020a20fd72f174fa25212e118bbae6c963eaf919f98292caa547a7cba6d7","sources":[{"modifiedAt":1793722823419,"name":"CNA: VulnCheck","retrievedAt":1793725703372,"url":"https://www.cve.org/CVERecord?id=CVE-2022-51022"},{"modifiedAt":1793726268620,"name":"NVD","retrievedAt":1793729830014,"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51022"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793857706477,"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-51022"}],"ssvc":{"assessedAt":1793722816320,"automatable":"yes","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint","updatedAt":1793857706477}