2021-07-21 08:23:55 +00:00
|
|
|
id: putty-private-key-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Putty Private Key Disclosure
|
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/putty-private-key-disclosure.json
|
2021-07-21 08:23:55 +00:00
|
|
|
tags: exposure,files
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/my.ppk"
|
2021-07-23 04:16:32 +00:00
|
|
|
|
2021-07-21 08:23:55 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "PuTTY-User-Key-File"
|
|
|
|
- "Encryption:"
|
|
|
|
part: body
|
2021-07-23 04:16:40 +00:00
|
|
|
condition: and
|
|
|
|
|
2021-07-21 08:23:55 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|