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

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