Files
nuclei-templates/javascript/enumeration/ssh/ssh-diffie-hellman-logjam.yaml

39 lines
1.1 KiB
YAML
Raw Normal View History

2023-11-28 15:57:05 +05:30
id: ssh-diffie-hellman-logjam
info:
name: SSH Diffie-Hellman Modulus <= 1024 Bits
author: pussycat0x
severity: low
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://access.redhat.com/solutions/4278651
metadata:
verified: true
max-request: 2
2023-11-28 15:57:05 +05:30
shodan-query: product:"OpenSSH"
2024-01-14 14:51:50 +05:30
tags: js,enum,ssh,misconfig,network
2023-11-28 15:57:05 +05:30
javascript:
2023-12-01 18:48:05 +05:30
- pre-condition: |
isPortOpen(Host,Port);
code: |
2023-11-28 15:57:05 +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-28 15:57:05 +05:30
args:
Host: "{{Host}}"
Port: "22"
matchers-condition: and
matchers:
- type: word
words:
- "kex_algorithms"
- type: word
words:
- "diffie-hellman-group1-sha1"
# digest: 490a00463044022047744b338609da31f12a18932d74bccae4ea2758a793070b55b7b83f9267aaed0220426629766f694b67c9fd15098dad4e76235ad66279bdfe85f17f82ee09e78c0b:922c64590222798bb761d5b6d8e72950