Skip to content

Commit

Permalink
Merge pull request #8617 from projectdiscovery/pussycat0x-patch-8
Browse files Browse the repository at this point in the history
SSH Weak Algorithms Supported
  • Loading branch information
DhiyaneshGeek committed Nov 14, 2023
2 parents fe4c565 + ac8bf9d commit 2ec2894
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions javascript/enumeration/ssh-weak-algo-supported.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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

0 comments on commit 2ec2894

Please sign in to comment.