Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Shenzhen Longjing Technology | BEMS API | ≤ 1.21 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Longjing Technology BEMS API 1.21 - Unauthenticated Arbitrary File Download http/cves/2021/CVE-2021-4463.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5657.php technical-description exploit
- https://www.exploit-db.com/exploits/50163 exploit
- https://packetstormsecurity.com/files/163702 exploit
- https://cxsecurity.com/issue/WLB-2021070173 exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/206477 vdb-entry
- https://web.archive.org/web/20220527162453/http://www.ljkj2012.com/ product
- https://www.vulncheck.com/advisories/longjing-technology-bems-api-remote-arbitrary-file-download third-party-advisory