2021-04-16 15:21:00 +00:00
|
|
|
id: ssh-authorized-keys
|
|
|
|
|
|
|
|
info:
|
2023-02-23 21:13:56 +00:00
|
|
|
name: SSH Authorized Keys File - Detect
|
2021-04-16 15:21:00 +00:00
|
|
|
author: geeknik
|
2023-03-17 16:30:35 +00:00
|
|
|
severity: medium
|
2023-02-23 21:13:56 +00:00
|
|
|
description: SSH authorized keys file was detected.
|
2023-10-14 11:27:55 +00:00
|
|
|
reference:
|
|
|
|
- https://www.ssh.com/academy/ssh/authorized-key
|
2023-03-02 19:53:03 +00:00
|
|
|
classification:
|
2023-03-17 16:30:35 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
2023-03-02 19:53:03 +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:21:00 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-16 15:21:00 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.ssh/authorized_keys"
|
|
|
|
- "{{BaseURL}}/_/.ssh/authorized_keys"
|
|
|
|
|
|
|
|
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: 4b0a00483046022100ef061bf288841527c39730c3a04580cbcbe3c87e6037aaea3a4d70395670f44902210081cd1eea8fb47d9d7f0c76354181e3682b607af69b9cda401e1081704366c31c:922c64590222798bb761d5b6d8e72950
|