CVE-2014-2321: ZTE Cable Modem Web Shell

日期: 2025-08-01 | 影响软件: ZTE Cable Modem | POC: 已公开

漏洞描述

ZTE F460 and F660 cable modems allows remote attackers to obtain administrative access via sendcmd requests to web_shell_cmd.gch, as demonstrated by using "set TelnetCfg" commands to enable a TELNET service with specified credentials.

PoC代码[已公开]

id: CVE-2014-2321

info:
  name: ZTE Cable Modem Web Shell
  author: geeknik
  severity: critical
  description: |
    ZTE F460 and F660 cable modems allows remote attackers to obtain administrative access via sendcmd requests to web_shell_cmd.gch, as demonstrated by using "set TelnetCfg" commands to enable a TELNET service with specified credentials.
  impact: |
    Remote code execution
  remediation: |
    Apply the latest firmware update provided by ZTE to fix the vulnerability
  reference:
    - https://yosmelvin.wordpress.com/2017/09/21/f660-modem-hack/
    - https://jalalsela.com/zxhn-h108n-router-web-shell-secrets/
    - https://nvd.nist.gov/vuln/detail/CVE-2014-2321
    - http://www.kb.cert.org/vuls/id/600724
    - http://www.myxzy.com/post-411.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
    cvss-score: 10
    cve-id: CVE-2014-2321
    cwe-id: CWE-264
    epss-score: 0.92497
    epss-percentile: 0.99719
    cpe: cpe:2.3:h:zte:f460:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zte
    product: f460
    shodan-query: cpe:"cpe:2.3:h:zte:f460"
  tags: cve2014,cve,iot,zte,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/web_shell_cmd.gch"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "please input shell command"
          - "ZTE Corporation. All rights reserved"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ae3f3d2de42d700b79f3ecee12e21465085dcd66579bccf6a137599cd2ee91e6022058109c123dd858cb6c687374d3a834abaf8b3c3b8637cf2559073fb5c7e3ec01:922c64590222798bb761d5b6d8e72950