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-10-14 11:27:55 +00:00
|
|
|
reference:
|
|
|
|
- https://datacadamia.com/ssh/known_hosts
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-03-02 20:58:29 +00:00
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: config,exposure,ssh
|
2021-04-16 15:20:45 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-16 15:20:45 +00:00
|
|
|
- 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-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502204e6ac2924fd3a83da1f2130713baf1eabca5bbf5c28b03ad69a1a9b11cd530c9022100afb74cd12f497034104149a07a2bb79549deb013ed58eecc9154c5e8be113f7a:922c64590222798bb761d5b6d8e72950
|