id: dwsync-exposure

info:
  name: Dreamweaver Dwsync.xml Exposure
  author: KaizenSecurity
  severity: info
  description: The Dreamweaver file dwsync.xml was discovered. The dwsync.xml file is a file generated by Dreamweaver which contains information related to what files are in the website directory.
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: dwsync,exposure,dreamweaver,files,vuln

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

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

      - type: word
        part: header
        words:
          - application/xml

      - type: word
        part: body
        words:
          - '<dwsync>'
          - '</dwsync>'
        condition: and
# digest: 4a0a00473045022035cfe84eeb2963b98c07f7a47cab881a1a1979c383347521d134094e4410b7ec022100f573d7196b004be4c4283fa28111f6f83a0353271d5a72c35501addb65ef03be:922c64590222798bb761d5b6d8e72950