Skip to content

Mailgun API Key

ID: mailgun-api-token

Severity: info

Author: DhiyaneshDK

Tags: mailgun,token,exposure

id: mailgun-api-token
info:
name: Mailgun API Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/mailgun.yml
- https://documentation.mailgun.com/en/latest/api-intro.html#authentication-1
metadata:
verified: true
max-request: 1
tags: mailgun,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(?i)(?:mailgun|mg).{0,20}key-([a-z0-9]{32})\b'
# digest: 4a0a00473045022100e917f5ef206d7987d60cc104331994643bd0e335c5198dc9b5946e52c52e5ab102203ff2e4741d56a7f04acb975dd10b98b1a5e01843a833f61d6c385d4a5d4ff3e1:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/mailgun/mailgun-api-token.yaml"

View on Github