2023-11-13 19:52:02 +00:00
id : ssh-weak-algo-supported
info :
name : SSH Weak Algorithms Supported
author : pussycat0x
severity : medium
description : |
SSH weak algorithms are outdated cryptographic methods that pose security risks. Identifying and disabling these vulnerable algorithms is crucial for enhancing the overall security of SSH connections.
reference :
- https://www.tenable.com/plugins/nessus/90317
metadata :
verified : true
2023-12-12 11:07:52 +00:00
max-request : 2
2023-11-13 19:52:02 +00:00
shodan-query : product:"OpenSSH"
2024-01-14 09:21:50 +00:00
tags : js,enum,ssh,misconfig,network
2024-01-04 06:46:23 +00:00
2023-11-13 19:52:02 +00:00
javascript :
2023-12-01 13:18:05 +00:00
- pre-condition : |
isPortOpen(Host,Port);
code : |
2023-11-13 19:52:02 +00:00
let m = require("nuclei/ssh");
let c = m.SSHClient();
let response = c.ConnectSSHInfoMode(Host, Port);
2024-02-29 08:05:22 +00:00
Export(response);
2023-11-13 19:52:02 +00:00
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 :
- "arcfour"
- "arcfour128"
- "arcfour256"
2023-11-14 19:00:03 +00:00
condition : or
2024-01-26 08:31:11 +00:00
# digest: 4b0a00483046022100d5c038917f6f85efc71fd0c4703c4d90406e6b2f94a7b3a21abaf30494d74369022100cf9e9e33471dab9e101674d98ef884133d7bc1f89306f560f010d6ffb42d359a:922c64590222798bb761d5b6d8e72950