Merge pull request #2801 from geeknik/patch-31

Create tugboat-config-exposure.yaml
patch-1
Sandeep Singh 2021-10-02 04:41:59 +05:30 committed by GitHub
commit 5ae63fd57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
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"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "authentication"
- "access_token"
- "ssh_user"
condition: and
extractors:
- type: regex
part: body
regex:
- 'access_token: .*'