29 lines
563 B
YAML
29 lines
563 B
YAML
|
id: ssh-authorized-keys
|
||
|
|
||
|
info:
|
||
|
name: SSH Authorized Keys
|
||
|
author: geeknik
|
||
|
reference: https://www.ssh.com/academy/ssh/authorized-key
|
||
|
severity: low
|
||
|
tags: config,exposure,ssh
|
||
|
|
||
|
requests:
|
||
|
- 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
|