29 lines
917 B
YAML
29 lines
917 B
YAML
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: aws,amazon,token,file,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: 490a00463044022033eda0332d6984a3d9791ca0214a79ae1a32dffee71937b9959525089b91d11002207bb6ea85467d50a89825fb1ec994f3439372542a017465d7b609706f6803ed85:922c64590222798bb761d5b6d8e72950 |