nuclei-templates/javascript/enumeration/ssh-cbc-mode-ciphers.yaml

45 lines
1.4 KiB
YAML
Raw Normal View History

2023-11-11 18:17:03 +00:00
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: 1
2023-11-11 18:17:03 +00:00
shodan-query: product:"OpenSSH"
tags: javascript,ssh,misconfig,network
javascript:
- code: |
let m = require("nuclei/ssh");
let c = m.SSHClient();
let response = c.ConnectSSHInfoMode(Host, Port);
to_json(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: 4b0a004830460221009eb43fae8fb12cc3b7b4f1cf120edf86a1903a6af3000e53f6ee5723142b92530221009105b9ce572438f5b7c0149683838fd34c0c13aa29bb750989dabd18eb1a7700:922c64590222798bb761d5b6d8e72950