2021-04-16 15:20:45 +00:00
|
|
|
id: ssh-known-hosts
|
|
|
|
|
|
|
|
info:
|
2023-02-23 21:16:03 +00:00
|
|
|
name: SSH Known Hosts File - Detect
|
2021-04-16 15:20:45 +00:00
|
|
|
author: geeknik
|
2023-03-02 20:58:29 +00:00
|
|
|
severity: info
|
2023-02-23 21:16:03 +00:00
|
|
|
description: SSH known hosts file was detected.
|
2023-03-02 20:58:29 +00:00
|
|
|
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.0
|
|
|
|
cwe-id: CWE-200
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://datacadamia.com/ssh/known_hosts
|
2021-04-16 15:20:45 +00:00
|
|
|
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
|
2023-02-23 21:16:03 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/23
|