
Threaded scanner and two-stage POC for CVE-2016-5649, detecting unauthenticated admin password disclosure on NETGEAR DGN2200/DGND3700 routers via /BSW_cxttongr.htm.
NETGEAR DGN2200 / DGND3700 - Admin Password Disclosure
| field | value |
|---|---|
| CVE | CVE-2016-5649 |
| severity | critical |
| CVSS | 9.8 (NVD CVSS:3.0, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| fixed in | DGN2200 firmware 1.0.0.52 and DGND3700 firmware 1.0.0.28 (affected: DGN2200-V1.0.0.50_7.0.50, DGND3700-V1.0.0.17_1.0.17) |
| class | unauthenticated clear-text information disclosure (CWE-200, CWE-319) |
| scanner version | 1.0.0 |
| python | 3.8+ stdlib only, no third-party deps |
If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RXm
The BSW_cxttongr.htm page of the NETGEAR DGN2200 (firmware DGN2200-V1.0.0.50_7.0.50) and DGND3700 (firmware DGND3700-V1.0.0.17_1.0.17) is served without any authentication. When the request is processed, the page prints the administrator password in clear text inside a <b>Success "..."</b> line and then redirects to absw_vfysucc.cgia. The nuclei template scores the page with two AND-ed matchers: the body word <title>Smart Wizard Result</title> and HTTP status 200, plus a regex extractor '<b>Success "([a-z]+)"' whose group 1 is the disclosed password. With that password the attacker logs straight into the router web interface (admin UI typically on tcp/8080). NETGEAR fixed it in firmware 1.0.0.52 for the DGN2200 and 1.0.0.28 for the DGND3700.
A vulnerability exists in the BSW_cxttongr.htm page of the Netgear DGN2200 (version DGN2200-V1.0.0.50_7.0.50) and DGND3700 (version DGND3700-V1.0.0.17_1.0.17) which allows a remote attacker to access the page without any authentication. When processed, the page exposes the admin password in clear text before it gets redirected to absw_vfysucc.cgia. An attacker can use this password to gain administrator access to the targeted router's web interface, i.e. full control of LAN/WAN, DNS and port-forwarding settings of the device.
The fix landed in DGN2200 firmware 1.0.0.52 ("Fixes security issue for BSW_cxttongr.htm page" per NETGEAR KB article 31040) and in DGND3700 firmware 1.0.0.28. The WNDR4500 v1 was end-of-life and received no update for this issue.
max-request: 1: GET /BSW_cxttongr.htm with Host and Accept headers, exactly as in the template raw request.<title>Smart Wizard Result</title> (trailing space is part of the word).200.matchers-condition: and - check() returns True only when both matchers hold; any missing element yields False, never a partial pass.'<b>Success "([a-z]+)"' group 1 gives the clear-text admin password; it is reported in result_b64 under extracted_password but is not part of the boolean verdict (the template keeps the verdict on the two matchers).error, not not-vuln.--json sidecar mirrors the same rows for tooling.Scanner:
python scanner/CVE-2016-5649/scanner.py urls.txt [threads] [out.csv] [--json out.json]
urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. 192.168.0.1 or http://192.168.0.1:8080. The router admin UI is usually on tcp/8080 (some setups answer on tcp/80 as well).
python exploit/CVE-2016-5649/exploit.py http://192.168.0.1:8080 [--csv out.csv] [--json out.json] [--verbose]
It replays the template request on /BSW_cxttongr.htm, extracts the clear-text password with the template regex, walks the redirect target /absw_vfysucc.cgia, prints numbered checks 1 to 5, the result dict, and the final verdict line.
RCE POC SUITE
scanner : CVE-2016-5649 v1.0.0 (DGN2200 DGN2200-V1.0.0.50_7.0.50, fixed in 1.0.0.52; DGND3700 DGND3700-V1.0.0.17_1.0.17, fixed in 1.0.0.28)
endpoint: GET /BSW_cxttongr.htm (admin UI, typically tcp/8080)
matchers: body word '<title>Smart Wizard Result</title> ' AND status 200 (and)
extractor: regex '<b>Success "([a-z]+)"' group 1 is the clear-text admin password
threads : 4 | csv: out.csv | json: out.json
[2026-12-03 14:11:02] loaded 1 target(s) from urls.txt
[2026-12-03 14:11:03] summary total=1 answered=1 vulnerable=1 errors=0
[2026-12-03 14:11:03] timing wall=184ms avg=171ms max=171ms
[2026-12-03 14:11:03] wrote out.csv (1 row(s)) and out.json
| column | meaning |
|---|---|
| n | 1-based row number |
| url | target as provided (scheme auto-prepended if missing) |
| status | ok if the HTTP layer answered, error otherwise |
| vulnerable | True/False verdict from check() (both matchers, AND) |
| elapsed_ms | per-target timing |
| token | 12-char md5 over the probe value, per-row fingerprint |
| result_b64 | base64(JSON) full details (matcher evidence + extracted password) |
scanner/CVE-2016-5649/scanner.py - threaded black-box scanner.scanner/CVE-2016-5649/README.md - this document.scanner/CVE-2016-5649/DESCRIPTION.md - architecture and probe plan.exploit/CVE-2016-5649/exploit.py - two-stage POC (password page + success page walk).0 - completed and at least one target scored vulnerable.2 - completed with no vulnerable target (or no targets loaded).http/cves/2016/CVE-2016-5649.yaml