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"
2024-01-14 14:51:50 +05:30
tags : js,enum,ssh,misconfig,network
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
2024-12-01 13:57:55 +00:00
# digest: 490a00463044022028dd86f6d97bb9b27a0e6fba7cc85375e0ae28a6dd27d9bd9fbb887822aa04bc02206016b4cabe1d3219394b1dd02f67f529ebc18a892ecacda0dc7291e43431d0e9:922c64590222798bb761d5b6d8e72950