40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
id: azuredeploy-json
|
|
|
|
info:
|
|
name: Azure Resource Manager Template - File Exposure
|
|
author: DhiyaneshDk
|
|
severity: medium
|
|
description: Azure Resource Manager deploy file is disclosed.
|
|
reference:
|
|
- https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/parameter-files
|
|
- https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-use-template-reference?tabs=CLI
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
fofa-query: body="azuredeploy.json"
|
|
tags: azure,exposure,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/azuredeploy.json"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"$schema":'
|
|
- '"contentVersion":'
|
|
- '"parameters":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022009055aa8bdcad89594a0afc0429feaffc1ebb851a49aa66b5d3110cb56b1491e022100a6dbdd37f39304d801c0528d4c6dc90f591eed5dbf1cece8a136d1bf3ebc9431:922c64590222798bb761d5b6d8e72950 |