2023-11-14 01:22:02 +05:30
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-14 01:22:02 +05:30
shodan-query : product:"OpenSSH"
2024-01-14 14:51:50 +05:30
tags : js,enum,ssh,misconfig,network
2024-01-04 12:16:23 +05:30
2023-11-14 01:22:02 +05:30
javascript :
2023-12-01 18:48:05 +05:30
- pre-condition : |
isPortOpen(Host,Port);
code : |
2023-11-14 01:22:02 +05:30
let m = require("nuclei/ssh");
let c = m.SSHClient();
let response = c.ConnectSSHInfoMode(Host, Port);
2024-02-29 13:35:22 +05:30
Export(response);
2023-11-14 01:22:02 +05:30
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-12-01 13:57:55 +00:00
# digest: 4b0a00483046022100e281e1e70edc87bcd3e92408e7139c983dd8d9f12261aab70510fa362d0ba013022100bef706ad352d188a71aaf6a087525539d71033c77fbd8a6ed1f4d8d187889dc7:922c64590222798bb761d5b6d8e72950