2021-10-01 18:13:35 +00:00
|
|
|
id: tugboat-config-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Tugboat configuration file exposure
|
|
|
|
description: Tugboat is a command line tool for interacting with your DigitalOcean droplets.
|
|
|
|
reference: https://github.com/petems/tugboat
|
|
|
|
author: geeknik
|
|
|
|
severity: critical
|
|
|
|
tags: tugboat,config,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.tugboat"
|
|
|
|
|
2021-10-01 23:07:10 +00:00
|
|
|
matchers-condition: and
|
2021-10-01 18:13:35 +00:00
|
|
|
matchers:
|
2021-10-01 18:21:58 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-10-01 18:13:35 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "authentication"
|
|
|
|
- "access_token"
|
|
|
|
- "ssh_user"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'access_token: .*'
|