41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
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
|
|
shodan-query: product:"OpenSSH"
|
|
tags: javascript,ssh,misconfig,network
|
|
|
|
javascript:
|
|
- code: |
|
|
let m = require("nuclei/ssh");
|
|
let c = m.SSHClient();
|
|
let response = c.ConnectSSHInfoMode(Host, Port);
|
|
to_json(response);
|
|
|
|
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"
|
|
condition: or
|
|
# digest: 4b0a0048304602210096417392e60020ebf5ec7fe0d328cf03e83e3ca1f441bfc837f6b0029c0710bd022100abe3051ef7aa15d3a739e7a239b178013a7acb0bc292637c9f20d0b1f36d079b:922c64590222798bb761d5b6d8e72950 |