nuclei-templates/http/exposures/tokens/digitalocean/axiom-digitalocean-key-expo...

44 lines
1.1 KiB
YAML

id: axiom-digitalocean-key-exposure
info:
name: DigitalOcean Key Exposure via Axiom
author: geeknik
severity: critical
description: Axiom is a dynamic infrastructure framework to efficiently work with multi-cloud environments.
remediation: Restrict access to the do.json file or upgrade to a newer version of Axiom
reference:
- https://github.com/pry0cc/axiom
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cwe-id: CWE-425
metadata:
max-request: 1
tags: axiom,digitalocean,key,exposure
http:
- method: GET
path:
- "{{BaseURL}}/.axiom/accounts/do.json"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- '"do_key"'
- '"region"'
- '"provider"'
condition: and
extractors:
- type: regex
part: body
regex:
- '\"do_key\"\: .*'
# digest: 4a0a00473045022100a9e645db4ccad4bb4a2c55f77872fdef290db609004656d1d6a80c3c8681177e0220328845b85d9651ac0671ab1698e5c1b458c00f1b198e6b727ac209b93ef64c0c:922c64590222798bb761d5b6d8e72950