Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/jonathan1010/cve-2016-5674
Embedded Systems SecurityReconnaissanceVulnerability ScannersIoT SecurityExploitationWeb Application ExploitationNetwork SecurityHardware & IoT SecurityRemote Access Trojan
GitHubjonathan1010/cve-2016-5674

CVE-2016-5674

Dec 4, 2026Not yet reviewed
Share

Scanner and proof-of-concept exploit for CVE-2016-5674, an unauthenticated command injection RCE in NUUO NVR and NETGEAR ReadyNAS Surveillance web interfaces.

View Repository

CVE-2016-5674

NUUO NVR camera __debugging_center_utils___.php - Command Execution

Metadata

fieldvalue
CVECVE-2016-5674
severitycritical
CVSS9.8 (template CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD 3.0 same base score, EPSS 0.9461 percentile 0.99855)
fixed infirmware after 3.0.0 for NUUO NVRmini 2 / NVRsolo and after 1.4.1 for NETGEAR ReadyNAS Surveillance (NVD also lists 1.4.2; CERT/CC VU#856152 noted no coordinated fix at disclosure time)
classcommand injection RCE (NVD/template cwe-id CWE-20), log parameter passed straight into the PHP system() call of the hidden __debugging_center_utils___.php page
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RYD

Summary

The web management interfaces of NUUO NVRmini 2 (1.7.5 through 3.0.0), NUUO NVRsolo (1.7.5 through 3.0.0) and NETGEAR ReadyNAS Surveillance (1.1.1 through 1.4.1, x86 and ARM) expose a hidden page __debugging_center_utils___.php. Its log parameter is concatenated into a shell command and handed to the PHP system() call without sanitisation, so an unauthenticated remote attacker executes arbitrary commands (as root on the NVRs) by breaking out of the cat argument with ;. The template issues up to two GET requests on that page, stop-at-first-match, and pairs the literal heading Debugging Center with the id output (uid=... gid=...) or the ipconfig output (Windows IP). NVD: published 2016-08-31, CERT/CC source (VU#856152).

Full description

The vendor page boils down to one unsanitised sink (Pedro Ribeiro's triage of the firmware):

function print_file($file_fullpath_name) {
    $cmd = "cat " . $file_fullpath_name;
    echo $file_fullpath_name . "\n\n";
    system($cmd);
}

$file_fullpath_name is $_GET['log'] verbatim, so ; terminates the cat argument and the rest runs as a second command; the page itself prints the Debugging Center heading first. The template mirrors this with max-request: 2 and two paths (the second is only tried when the first misses):

  • GET {BaseURL}/__debugging_center_utils___.php?log=;echo%20{{rand}}%20|%20id (Linux side, NVRmini 2 / NVRsolo), matched by status_code_1 == 200 and contains(body_1, 'Debugging Center') and regex('uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)', body_1).
  • GET {BaseURL}/__debugging_center_utils___.php?log=;echo%20{{rand}}%20|%20ipconfig (Windows-flavoured ReadyNAS answer), matched by status_code_2 == 200 and contains(body_2, 'Debugging Center') and contains(body_2, 'Windows IP').

{{rand}} is to_lower(rand_text_alpha(32)): 32 lowercase letters, the echo of which proves the system() call really ran. The matchers are two type: dsl groups under matchers-condition: or; the scanner transcribes them verbatim, including the case-sensitive contains semantics of the DSL. NVD lists the CPE set cpe:2.3:a:netgear:readynas_surveillance 1.1.1, 1.1.2, 1.2.0.4, 1.3.2.4, 1.3.2.14, 1.4.0, 1.4.1, 1.4.2 plus cpe:2.3:o:nuuo:nvrmini_2 and cpe:2.3:o:nuuo:nvrsolo up to 3.0.0.

Detection model

  • One or two requests per target (max-request: 2), the second only when the first matcher group misses (stop-at-first-match: true).
  • Probe 1: GET /__debugging_center_utils___.php?log=;echo%20<RAND>%20|%20id with a freshly generated 32-letter lowercase RAND; matcher = status 200 and the literal Debugging Center and the regex uid=([0-9(a-z)]+) gid=([0-9(a-z)]+) on the body.
  • Probe 2: the same path with log=;echo%20<RAND>%20|%20ipconfig; matcher = status 200 and Debugging Center and Windows IP.
  • check(url) returns (True, details) when either matcher group holds; details keeps both statuses, per-matcher flag maps (matcher_id, matcher_ipconfig), echo_seen (the generated RAND present in the matched body), a 200-char snippet and the extractor string debugging center rce: probe=<id|ipconfig|none> id_match=B ipconfig_match=B match=B.
  • A 12-char md5 token is computed over the JSON result so a merely reflected page is distinguishable from a real system() answer.
  • Every request retries (2 attempts, linear backoff); scheme-less hosts in urls.txt are auto-prefixed with http://.

Usage

# scanner (GitHub side): streamed CSV + optional JSON sidecar
python scanner/CVE-2016-5674/scanner.py urls.txt 8 CVE-2016-5674.csv --json CVE-2016-5674.json

# exploit (satoshidisk side): result dict + optional CSV/JSON dumps
python exploit/CVE-2016-5674/exploit.py http://nvr-host --csv CVE-2016-5674.csv --json CVE-2016-5674.json --verbose

urls.txt is a plain file, one target per line, # for comments. Lines may omit the scheme (192.168.1.10 works, http:// is prepended). NVR devices usually answer on TCP 80.

Example scanner output

RCE POC SUITE
 scanner : CVE-2016-5674 v1.0.0
 threads : 4 | csv: CVE-2016-5674.csv | json: CVE-2016-5674.json
RCE POC SUITE
[..] loaded 1 target(s) from urls.txt
[..] [1/1] http://127.0.0.1:8099 -> VULNERABLE
[..] json sidecar saved: CVE-2016-5674.json
[..] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[..] timing : avg=6ms max=6ms wall=0.01s
[..] report saved: CVE-2016-5674.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
tokenmd5 proof-of-match (12 chars)
result_b64base64(JSON) full details

Files

  • scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.
  • README.md - this file.
  • DESCRIPTION.md - deeper technical notes.
  • ../../exploit/CVE-2016-5674/exploit.py - two-stage POC.

Exit codes

codemeaning
0at least one target answered
2every target errored (or no targets loaded)

The POC returns 0 when its token verification passes and 2 on verification failed.

References

  • Nuclei template: http/cves/2016/CVE-2016-5674.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2016-5674
  • CERT/CC VU#856152: http://www.kb.cert.org/vuls/id/856152
  • Exploit-DB 40200: https://www.exploit-db.com/exploits/40200/
  • Pedro Ribeiro advisory: https://github.com/pedrib/PoC/blob/master/advisories/NUUO/nuuo-nvr-vulns.txt
Download Tool

Related Tools

  • binwalk

    Firmware Analysis Tool

  • emba

    EMBA - The firmware security analyzer

  • FACT_core

    Firmware Analysis and Comparison Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →