2021-04-16 15:20:45 +00:00
|
|
|
id: ssh-known-hosts
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: SSH Known Hosts
|
|
|
|
author: geeknik
|
|
|
|
reference: https://datacadamia.com/ssh/known_hosts
|
|
|
|
severity: low
|
|
|
|
tags: config,exposure,ssh
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.ssh/known_hosts"
|
|
|
|
- "{{BaseURL}}/.ssh/known_hosts.old"
|
2021-04-16 15:22:21 +00:00
|
|
|
|
2021-04-16 15:20:45 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "ssh-dss"
|
|
|
|
- "ssh-ed25519"
|
|
|
|
- "ssh-rsa"
|
|
|
|
- "ecdsa-sha2-nistp256"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|