ssh-cbc-mode-ciphers: SSH Server CBC Mode Ciphers Enabled

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

漏洞描述

"SSH Server CBC Mode Ciphers Enabled" signifies that the SSH server supports Cipher Block Chaining (CBC) mode ciphers, which are known for potential vulnerabilities. This configuration poses a security risk, and it's recommended to disable CBC ciphers in favor of more secure alternatives for enhanced protection during data transmission.

PoC代码[已公开]

id: ssh-cbc-mode-ciphers

info:
  name: SSH Server CBC Mode Ciphers Enabled
  author: pussycat0x
  severity: low
  description: |
    "SSH Server CBC Mode Ciphers Enabled" signifies that the SSH server supports Cipher Block Chaining (CBC) mode ciphers, which are known for potential vulnerabilities. This configuration poses a security risk, and it's recommended to disable CBC ciphers in favor of more secure alternatives for enhanced protection during data transmission.
  reference:
    - https://www.tenable.com/plugins/nessus/70658
  metadata:
    verified: true
    max-request: 2
    shodan-query: product:"OpenSSH"
  tags: js,enum,ssh,misconfig,network,vuln

javascript:
  - pre-condition: |
      isPortOpen(Host,Port)
    code: |
      let m = require("nuclei/ssh");
      let c = m.SSHClient();
      let response = c.ConnectSSHInfoMode(Host, Port);
      Export(response);
    args:
      Host: "{{Host}}"
      Port: "22"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "client_to_server_ciphers"
          - "server_to_client_ciphers"
        condition: and

      - type: word
        words:
          - "aes128-cbc"
          - "aes192-cbc:"
          - "aes256-cbc"
          - "3des-cbc"
          - "blowfish-cbc"
          - "cast128-cbc"
        condition: or
# digest: 4a0a00473045022100a8342def03fd29787107123a3c017eb357073728a7dedc784b94b2a1d5170587022025ebb5270e5fe0b6e5a7881f81b84dd0d2dc5aaed51a385f3c52f104deb0e08b:922c64590222798bb761d5b6d8e72950

相关漏洞推荐