id: insecure-crossdomain

info:
  name: Insecure cross-domain.xml file
  author: Borna Nematzadeh,nadino
  severity: info
  reference:
    - https://www.acunetix.com/vulnerabilities/web/insecure-crossdomain-xml-file
  metadata:
    max-request: 1
  tags: exposure,generic,files

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

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - '<allow-access-from domain="*"/>'
# digest: 4a0a0047304502210084cd8a15f2ffea8c34f16daee5f3f18ea5160988dbfb766ea46835a51d3e5287022039795b03b604dc012cd57d4a167123f2de21ea45e124c577cd0f1e58f0fadb74:922c64590222798bb761d5b6d8e72950