nuclei-templates/http/exposures/tokens/amazon/aws-session-token.yaml

26 lines
750 B
YAML

id: aws-session-token
info:
name: AWS Session Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
metadata:
verified: true
max-request: 1
tags: aws,amazon,token,exposure,session
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(?i)(?:aws.?session|aws.?session.?token|aws.?token)["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([a-z0-9/+=]{16,200})[^a-z0-9/+=]'
# digest: 4b0a00483046022100a95a34f1db6767e74a16ec26e111fae281b3168e814acb6bf294bbac0c10e154022100c9aa963b6e4873b9a690af88c594c6edd5d7a31306472d6b10fd9db19a4633cd:922c64590222798bb761d5b6d8e72950