nuclei-templates/http/exposures/tokens/azure/azure-connection.yaml

28 lines
1022 B
YAML
Raw Permalink Normal View History

2023-05-18 20:23:21 +00:00
id: azure-connection
info:
name: Azure Connection String
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/azure.yml
- https://azure.microsoft.com/en-us/blog/windows-azure-web-sites-how-application-strings-and-connection-strings-work/
- https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-05-18 20:23:21 +00:00
tags: azure,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- (?i)(?:AccountName|SharedAccessKeyName|SharedSecretIssuer)\s*=\s*([^;]{1,80})\s*;\s*.{0,10}\s*(?:AccountKey|SharedAccessKey|SharedSecretValue)\s*=\s*([^;]{1,100})(?:;|$)
# digest: 4a0a0047304502200d596703bc5859eb6ca86bbc1c720ea78621a740085f8742e1434eacdc0135eb022100ac43b9f64e368d18a50ec20936a7b7a1af0a7f025e5e4af5fef154e573969625:922c64590222798bb761d5b6d8e72950