2023-11-11 23:16:31 +05:30
id : ssh-weakkey-exchange-algo
2023-11-11 23:02:04 +05:30
info :
name : SSH Weak Key Exchange Algorithms Enabled
author : pussycat0x
severity : low
2023-11-12 16:07:39 +05:30
description : |
SSH Weak Key Exchange Algorithms Enabled indicates that the SSH server or client is configured to allow the use of less secure key exchange methods, posing a potential security risk during the establishment of secure connections. It's crucial to update configurations to prioritize stronger key exchange algorithms.
2023-11-11 23:02:04 +05:30
reference :
- https://www.tenable.com/plugins/nessus/153953
metadata :
verified : true
2023-12-12 11:07:52 +00:00
max-request : 2
2023-11-11 23:02:04 +05:30
shodan-query : product:"OpenSSH"
2025-10-17 14:17:02 +02:00
tags : js,enum,ssh,misconfig,network,vuln
2024-01-04 12:16:23 +05:30
2023-11-11 23:02:04 +05:30
javascript :
2023-12-01 18:48:05 +05:30
- pre-condition : |
isPortOpen(Host,Port);
code : |
2023-11-11 23:02:04 +05:30
let m = require("nuclei/ssh");
let c = m.SSHClient();
2023-11-12 16:07:39 +05:30
let response = c.ConnectSSHInfoMode(Host, Port);
2024-02-29 13:35:22 +05:30
Export(response);
2023-11-11 23:02:04 +05:30
args :
Host : "{{Host}}"
Port : "22"
matchers-condition : and
matchers :
2023-11-11 23:21:30 +05:30
- type : word
2023-11-11 23:02:04 +05:30
words :
- "ServerKex"
2023-11-11 23:21:30 +05:30
- type : word
2023-11-11 23:02:04 +05:30
words :
- "diffie-hellman-group-exchange-sha1"
- "diffie-hellman-group1-sha1"
- "gss-gex-sha1"
- "gss-group1-sha1"
- "gss-group14-sha1"
- "rsa1024-sha1"
2023-11-11 23:09:46 +05:30
condition : or
2025-10-26 16:17:34 +00:00
# digest: 4b0a00483046022100bb3ec953d01b159e56bdde2565a3f7b745c3df475b2da33db4eb0ca2ea39affa022100b3a2194f54f27651c8e443d3af75c57c1d3cde6f62c7eee4f9275ac2c5444fa1:922c64590222798bb761d5b6d8e72950