Skip to content

Azure Resource Manager Template - File Exposure

ID: azuredeploy-json

Severity: medium

Author: DhiyaneshDk

Tags: azure,exposure,files

Azure Resource Manager deploy file is disclosed.

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: 4a0a00473045022100a8ac2eb1a39dfbe2dcee1df16302eb8de81983fbbd63f98c2da6a1bc4ce39ee70220218c0069115719c15da587fc898e3b61861cd0f5ff2f0f4f020b14ef6743f9a8: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 "http/exposures/files/azuredeploy-json.yaml"

View on Github