id: blazor-boot

info:
  name: Blazor Boot File Disclosure
  author: freakyclown
  severity: info
  description: Exposed Blazor Boot (a web framework developed by Microsoft) config file.
  reference:
    - https://github.com/freakyclown/Nuclei_templates/blob/main/blazor_server.yaml
  metadata:
    verified: true
    max-request: 1
    github-query: 'blazor.boot.json language:JSON'
  tags: blazor,boot,exposure,config,disclosure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/_framework/blazor.boot.json"

    matchers:
      - type: word
        words:
          - 'Blazor'
          - '"config":'
        condition: and

    extractors:
      - type: regex
        part: body
        regex:
          - \"([^"\r\n]+\.dll)\"
# digest: 4a0a0047304502207633b87adcc79469a1f889a03d4ffc8d74c05366a5873a1ea35f67862b8ca585022100aa2554b4e5db420cc5e08b4d8a4939ea7cdbe48a0701ab4dc78edf4e5dd37e9d:922c64590222798bb761d5b6d8e72950