SSH Known Hosts File - Detect
ID: ssh-known-hosts
Severity: info
Author: geeknik
Tags: config,exposure,ssh
Description
Section titled “Description”SSH known hosts file was detected.
YAML Source
Section titled “YAML Source”id: ssh-known-hosts
info: name: SSH Known Hosts File - Detect author: geeknik severity: info description: SSH known hosts file was detected. reference: - https://datacadamia.com/ssh/known_hosts classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 cwe-id: CWE-200 metadata: max-request: 2 tags: config,exposure,ssh
http: - method: GET path: - "{{BaseURL}}/.ssh/known_hosts" - "{{BaseURL}}/.ssh/known_hosts.old"
matchers-condition: and matchers: - type: word words: - "ssh-dss" - "ssh-ed25519" - "ssh-rsa" - "ecdsa-sha2-nistp256" condition: or
- type: status status: - 200# digest: 490a00463044022069271f83bf253b9543880ef51358c63b68c792e16534fa89149ffd446950ba1e02207c0ca058bbf57d8766c40c8c72d743233ea6c0f10ae9b9111315ec18e6e41030:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/ssh-known-hosts.yaml"