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