Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2018-9995 PoC — TBK DVR4104和DVR4216 安全漏洞

Source
Associated Vulnerability
Title: TBK DVR4104和DVR4216 安全漏洞 (CVE-2018-9995)
Description:TBK DVR4104 and DVR4216 devices, as well as Novo, CeNova, QSee, Pulnix, XVR 5 in 1, Securus, Night OWL, DVR Login, HVR Login, and MDVR Login, which run re-branded versions of the original TBK DVR4104 and DVR4216 series, allow remote attackers to bypass authentication via a "Cookie: uid=admin" header, as demonstrated by a device.rsp?opt=user&cmd=list request that provides credentials within JSON data in a response.
Description
A PoC exploit for CVE-2018-9995 - DVR Authentication Bypass
Readme
# CVE-2018-9995 - DVR Authentication Bypass

This repository addresses the security vulnerability identified as CVE-2018-9995, affecting various DVR devices, including TBK DVR4104, DVR4216, Novo, CeNova, QSee, Pulnix, XVR 5 in 1, Securus, Night OWL, DVR Login, HVR Login, and MDVR Login. These devices are re-branded versions of the original TBK DVR4104 and DVR4216 series. This vulnerability allows remote attackers to bypass authentication, posing a significant security risk.

# Vulnerability Details

The vulnerability stems from an authentication bypass mechanism, wherein a remote attacker can exploit a "Cookie: uid=admin" header. This header manipulation enables unauthorized access to the device's functionalities. A concrete example of this vulnerability can be observed in the "device.rsp?opt=user&cmd=list" request. The response to this request includes JSON data that inadvertently exposes sensitive credentials.

# Exploitation

Attackers can leverage the "Cookie: uid=admin" header to gain unauthorized access to the affected devices. By issuing a crafted request, such as "device.rsp?opt=user&cmd=list," attackers can retrieve critical information contained within the JSON response, effectively bypassing the authentication process.

# Proof of Concept (PoC)

Included within this repository is a proof of concept (PoC) demonstrating the vulnerability. The PoC illustrates the steps to reproduce the authentication bypass using the identified exploit. It serves as a clear demonstration of the security concern and underscores the urgency of addressing this issue.

# Mitigation

To mitigate the risk posed by CVE-2018-9995, it is recommended to apply the necessary security patches provided by the device manufacturers. Additionally, users should consider implementing network security measures, such as access control lists and firewalls, to restrict unauthorized access to vulnerable devices.
Disclaimer

This repository and its content are intended for educational and informational purposes only. The PoC and vulnerability description are provided to raise awareness about the security issue. I am not responsible for any misuse or illegal activities conducted with this information.

For more details, refer to the original CVE documentation: CVE-2018-9995.

Please act responsibly and ethically when handling this information.
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →