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,vuln

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: 4a0a00473045022048f00e35f70560b922beddaf8b8f50635bf2bc15cafb9300d23aad6455fb019c022100ebb96e6dee0d219cad41e802a2fb65b431b3cd46f2e19fb773ffb86f40fd582f:922c64590222798bb761d5b6d8e72950