id: browserconfig-xml

info:
  name: Browser Configuration "browserconfig.xml" Exposure
  author: DhiyaneshDk
  severity: info
  description: |
    Browser Configuration "browserconfig.xml" File was exposed.
  reference:
    - https://www.sygnal.com/lessons/browserconfig-xml
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"browserconfig.xml"
  tags: browserconfig,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/browserconfig.xml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<browserconfig>'
          - '</msapplication>'
        condition: and

      - type: word
        part: content_type
        words:
          - "text/xml"
          - "application/xml"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100aa32c4533d1fb35e1ff47c538657cf2d32ac99c9310a2a806a01d76e85255b7a022020a3c33475b30965cc84e4929fe36660f8272b30317d8546bcce135e7f82f623:922c64590222798bb761d5b6d8e72950