Skip to content

Amazon Web Services Account ID - Detect

ID: amazon-account-id

Severity: info

Author: DhiyaneshDK

Tags: file,keys,aws,amazon,token

Amazon Web Services Account ID token was detected.

id: amazon-account-id
info:
name: Amazon Web Services Account ID - Detect
author: DhiyaneshDK
severity: info
description: Amazon Web Services Account ID 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
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- '(?i)aws_?(?:account)_?(?:id)?["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([0-9]{4}-?[0-9]{4}-?[0-9]{4})'
# Enhanced by md on 2023/05/04
# digest: 4b0a00483046022100fd01d278553caeee7ca21d53b69d495847fea3962e6297682130654c9df5f882022100a5e32f46318e269bf2a251fca7fc96a9975cdeef516171f4de2e06dc3c89def6: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-account-id.yaml"

View on Github