← Advisories

Longjing Technology BEMS API 1.21 Remote Arbitrary File Download

High
Advisory ID
ZSL-2021-5657
Release Date
28 July 2021
Vendor
Longjing Technology - http://www.ljkj2012.com
Affected Version
1.21
Tested On
nginx/1.19.1
Summary

Battery Energy Management System.

Description

The application suffers from an unauthenticated arbitrary file download vulnerability. Input passed through the fileName parameter through downloads endpoint is not properly verified before being used to download files. This can be exploited to disclose the contents of arbitrary and sensitive files through directory traversal attacks.

Proof of Concept
Disclosure Timeline
N/A
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
28.07.2021Initial release
30.07.2021Added reference [1] and [2]
02.08.2021Added reference [3] and [4]
13.11.2025Added reference [5] and [6]