HexBrain

Browse / CVEs / CVE-2014-2321

CVE-2014-2321· zte / f460· CWE-264

ZTE Cable Modem Web Shell

criticalseverity
10CVSS score
59.3%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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

Fix

Apply the latest firmware update provided by ZTE to fix the vulnerability

How to confirm it

Send: GET {{BaseURL}}/web_shell_cmd.gch
Positive when: contains "please input shell command" and "ZTE Corporation. All rights reserved" AND status 200

Run it with nuclei: nuclei -id CVE-2014-2321 -u <target>. This check is not marked as verified by its authors.

The full check
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.59259
    epss-percentile: 0.99126
    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

References

Use this check only on systems you are authorised to test. Where the data comes from