2021-10-01 18:13:35 +00:00
|
|
|
id: tugboat-config-exposure
|
|
|
|
|
|
|
|
info:
|
2022-03-22 03:48:47 +00:00
|
|
|
name: Tugboat Configuration File Exposure
|
2022-04-22 10:38:41 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: critical
|
2022-03-22 03:48:47 +00:00
|
|
|
description: A Tugboat configuration file was discovered. Tugboat is a command line tool for interacting with DigitalOcean droplets.
|
|
|
|
reference:
|
|
|
|
- https://github.com/petems/tugboat
|
|
|
|
- https://www.digitalocean.com/community/tools/tugboat
|
2021-10-01 18:13:35 +00:00
|
|
|
tags: tugboat,config,exposure
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-10-01 18:13:35 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-01 18:13:35 +00:00
|
|
|
- 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: .*'
|