id: unauthenticated-duplicator-disclosure

info:
  name: WordPress Duplicator Plugin - Information disclosure
  author: tess
  severity: medium
  description: |
    Unauthenticated Information disclosure of Duplicator WordPress plugin sensitive files.
  metadata:
    verified: true
    max-request: 2
  tags: wordpress,wp,wp-plugin,misconfig,disclosure,unauth,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/backups-dup-lite/tmp/"
      - "{{BaseURL}}/wp-content/backups-dup-lite"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Index of /wp-content/backups-dup-lite/'

      - type: word
        part: header
        words:
          - 'text/html'

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