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
2023-12-12 11:07:52 +00:00
max-request : 2
2023-11-11 18:17:03 +00:00
shodan-query : product:"OpenSSH"
tags : javascript,ssh,misconfig,network
javascript :
2023-12-01 13:18:05 +00:00
- pre-condition : |
isPortOpen(Host,Port)
code : |
2023-11-11 18:17:03 +00:00
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"
2023-11-12 10:32:59 +00:00
condition : or
2023-12-12 12:02:03 +00:00
# digest: 4a0a0047304502204d461abd2c24d94e653efa696343758c69da7d322c7c845666de27f3c32a0b3c022100be742be2b0fafee21edbd30956733c1d203d963935891caf11734629f4107c10:922c64590222798bb761d5b6d8e72950