Skip to content

Amazon Session Token - Detect

ID: amazon-session-token

Severity: info

Author: DhiyaneshDK

Tags: file,keys,aws,amazon,token,session

Amazon session token was detected.

id: amazon-session-token
info:
name: Amazon Session Token - Detect
author: DhiyaneshDK
severity: info
description: Amazon session token was detected.
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
verified: true
tags: file,keys,aws,amazon,token,session
file:
- extensions:
- all
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/+=]'
# Enhanced by md on 2023/05/04
# digest: 490a0046304402204b34aebf187c3c880ad19aba9667926e281db6110ea3ce3a5f8249683f761562022035fc8f2654324ecb35f7413fe6b5f16be372c3bcc5e70c24be5ab631d01542fa: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 "file/keys/amazon/amazon-session-token.yaml"

View on Github