39 lines
985 B
YAML
39 lines
985 B
YAML
id: ssh-authorized-keys
|
|
|
|
info:
|
|
name: SSH Authorized Keys File - Detect
|
|
author: geeknik
|
|
severity: medium
|
|
description: SSH authorized keys file was detected.
|
|
reference:
|
|
- https://www.ssh.com/academy/ssh/authorized-key
|
|
classification:
|
|
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
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 2
|
|
tags: config,exposure,ssh
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 4b0a00483046022100ef061bf288841527c39730c3a04580cbcbe3c87e6037aaea3a4d70395670f44902210081cd1eea8fb47d9d7f0c76354181e3682b607af69b9cda401e1081704366c31c:922c64590222798bb761d5b6d8e72950
|