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
CVE-2014-2321 — Scanner and proof-of-concept exploit for CVE-2014-2321, the unauthenticated web_shell_cmd.gch command execution backdoor in ZTE F460/F660 cable modems. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2014-2321
Embedded Systems SecurityVulnerability ScannersIoT SecurityExploitationWeb Application ExploitationInformation GatheringPenetration TestingRemote Access Trojan
GitHubjonathan1010/cve-2014-2321

CVE-2014-2321

Scanner and proof-of-concept exploit for CVE-2014-2321, the unauthenticated web_shell_cmd.gch command execution backdoor in ZTE F460/F660 cable modems.

Dec 4, 2026Not yet reviewed
Share
View Repository

CVE-2014-2321

ZTE F460/F660 cable modems - unauthenticated built-in web shell at /web_shell_cmd.gch (sendcmd backdoor, CVSS 10)

Metadata

fieldvalue
CVECVE-2014-2321
severitycritical
CVSS10.0 (CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C)
fixed inno public fix release; ZTE remediation is "apply the latest firmware update" (confirmed affected builds: 2.22.21P1T8S, 2.22.21P1T12S)
classunauthenticated command execution via hardcoded web shell (CWE-264, NVD CPE zte:f460)
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/CT5TGj

Summary

ZTE F460 and F660 cable modems ship a built-in web shell at /web_shell_cmd.gch that executes whatever it is given through the device BusyBox shell with no authentication at all. A plain GET already answers with the shell prompt; a form POST carrying Cmd=<command> runs the command and renders the output. The same interpreter accepts sendcmd database commands, so an unauthenticated attacker can dump the TelnetCfg table (telnet username/password/port) and rewrite it with sendcmd 1 DB set TelnetCfg ... plus sendcmd 1 DB save, which enables a TELNET service with attacker-chosen credentials - full administrative access to the modem, hence the CVSS 10.0.

Full description

The management interface of the affected firmware exposes web_shell_cmd.gch, a GCH page whose handler (leaked vendor source) runs CmdAck = show_shellcmd(Cmd) whenever the form field IF_ACTION=apply is present. The command channel is the urlencoded body IF_ACTION=apply&IF_ERRORSTR=SUCC&IF_ERRORPARAM=SUCC&IF_ERRORTYPE=-1&Cmd=<command>&CmdAck= (the exact form used by the routersploit f460_f660_backdoor module, the OpenVAS active check for VU#600724 and public goby PoCs), and the device answers with the command output inside the response.

Two request shapes matter:

  • GET /web_shell_cmd.gch with no command returns the shell prompt page. The nuclei template matches exactly this: status 200 plus the body words please input shell command and ZTE Corporation. All rights reserved (both required, matchers-condition: and, max-request: 1).
  • POST /web_shell_cmd.gch with the form above executes Cmd through the BusyBox shell. echo <marker> proves interpretation (the marker comes back in the output), and the CVE's own demonstration reads the telnet credential table with sendcmd 1 DB p TelnetCfg (TS_UName / TS_UPwd / TS_Port), which can then be overwritten with sendcmd 1 DB set TelnetCfg 0 <field> <value> followed by sendcmd 1 DB save.

There is no public source patch to diff: the firmware is closed. Detection and exploitation are therefore behaviour based - the shell endpoint answers and interprets commands, or the build was updated by the vendor. Affected devices also identify themselves with Server: Mini web server, which the OpenVAS check uses as a prefilter.

Detection model

  • One request per target, mirroring the template exactly: GET {base}/web_shell_cmd.gch, no credentials, no cookies.
  • Verdict = template matcher AND: HTTP status 200, body contains please input shell command, and body contains ZTE Corporation. All rights reserved (case-insensitive substring).
  • check(url) returns (verdict, details) with status, content type, reason phrase, a 300-char body window and the per-matcher booleans.
  • A 12-char md5 token over the JSON result distinguishes a parsed response from an empty or truncated one.
  • Every request retries (2 attempts, linear backoff); scheme-less hosts in urls.txt are auto-prefixed with http://.

Usage

python scanner/CVE-2014-2321/scanner.py urls.txt 8 CVE-2014-2321.csv --json CVE-2014-2321.json

python exploit/CVE-2014-2321/exploit.py http://target/ --csv CVE-2014-2321.csv --json CVE-2014-2321.json --verbose

urls.txt is a plain file, one target per line, # for comments.

Example scanner output

[*] ZTE F460/F660 cable modem CVE-2014-2321 web_shell_cmd.gch scanner
 scanner : CVE-2014-2321 v1.0.0
 endpoint: GET /web_shell_cmd.gch
 matcher : word 'please input shell command' AND word 'ZTE Corporation. All rights reserved' AND status 200
 threads : 4 | csv: s.csv | json: s.json
[*] ZTE F460/F660 cable modem CVE-2014-2321 web_shell_cmd.gch scanner
[2026-12-04 08:05:04] loaded 1 target(s) from urls.txt
[2026-12-04 08:05:04] [1/1] http://127.0.0.1:8099 -> VULNERABLE
[2026-12-04 08:05:04] json sidecar saved: s.json
[2026-12-04 08:05:04] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-04 08:05:04] timing : avg=7ms max=7ms wall=0.01s
[2026-12-04 08:05:04] report saved: s.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided
statusok / error
vulnerableverdict
elapsed_msper-target timing
tokenmd5 proof-of-parse (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-2014-2321/exploit.py - two-request POC (prompt probe + Cmd= form execution) with numbered checks and md5 token.

Exit codes

codemeaning
0at least one target answered
2every target errored

References

  • Nuclei template: http/cves/2014/CVE-2014-2321.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2014-2321
  • CERT/CC VU#600724: http://www.kb.cert.org/vuls/id/600724
  • F660 hack write-up (sendcmd command set): https://yosmelvin.wordpress.com/2017/09/21/f660-modem-hack/
  • ZXHN H108N web-shell notes: https://jalalsela.com/zxhn-h108n-router-web-shell-secrets/
  • Leaked web_shell_cmd.gch source: https://gist.github.com/xax007/3c27bfe351e14830935bd3a9982784c8
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 →