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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:TBK DVR4104和DVR4216 安全漏洞 (CVE-2018-9995)
Description:TBK DVR4104和DVR4216都是高清数字录像机设备。 TBK DVR4104和DVR4216中存在安全漏洞。远程攻击者可借助Cookie: uid=admin包头利用该漏洞绕过身份验证。
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

[4.0K] /data/pocs/2ca3914e5a135580a21cecde087213283b028aa3 ├── [5.0K] CVE-2018-9995.py ├── [2.3K] README.md └── [ 52] requirements.txt 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.