{"id":"CVE-2021-4463","published":"2025-11-12T22:07:30Z","modified":"2026-05-14T02:06:50Z","title":"Longjing Technology BEMS API <= 1.21 Remote Arbitrary File Download","vendor":"Shenzhen Longjing Technology Co. Ltd.","product":"BEMS API","tier":"tail","description":{"text":"Longjing Technology BEMS API versions up to and including 1.21 contains an unauthenticated arbitrary file download vulnerability in the 'downloads' endpoint. The 'fileName' parameter is not properly sanitized, allowing attackers to craft traversal sequences and access sensitive files outside the intended directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03522,"percentile":0.89995,"provenance":"source"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5657.php","tags":["technical-description","exploit"]},{"url":"https://www.exploit-db.com/exploits/50163","tags":["exploit"]},{"url":"https://packetstormsecurity.com/files/163702","tags":["exploit"]},{"url":"https://cxsecurity.com/issue/WLB-2021070173","tags":["exploit"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/206477","tags":["vdb-entry"]},{"url":"https://web.archive.org/web/20220527162453/http://www.ljkj2012.com/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/longjing-technology-bems-api-remote-arbitrary-file-download","tags":["third-party-advisory"]}],"priority":{"score":29.1,"factors":[{"name":"EPSS percentile","points":18.0},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-07-29"},"nuclei":[{"id":"CVE-2021-4463","name":"Longjing Technology BEMS API 1.21 - Unauthenticated Arbitrary File Download","severity":"high","path":"http/cves/2021/CVE-2021-4463.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-4463.yaml"}],"first":{"date":"2021-07-29","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50163"},"provenance":"source"},"vendorSlug":"shenzhen-longjing-technology","affectedVersions":[{"vendor":"Shenzhen Longjing Technology Co. Ltd.","product":"BEMS API","versions":["<= 1.21"]}],"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-13T17:05:01.698452Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34715","exploited":false,"provenance":"source"},"exploits":[{"id":50163,"url":"https://www.exploit-db.com/exploits/50163","title":"Longjing Technology BEMS API 1.21 - Remote Arbitrary File Download","date":"2021-07-29","verified":false,"provenance":"source"}],"exploitRefs":["https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5657.php","https://www.exploit-db.com/exploits/50163","https://packetstormsecurity.com/files/163702","https://cxsecurity.com/issue/WLB-2021070173"]}