CVE-2022-0781
published 2022-05-23CVE-2022-0781: The Nirweb support WordPress plugin before 2.8.2 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action (available to…
PriorityP182critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
12.41%
95.7th percentile
The Nirweb support WordPress plugin before 2.8.2 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action (available to unauthenticated users), leading to an SQL injection
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| nirweb | nirweb_support | < 2.8.2 | 2.8.2 |
Detection & IOCsextracted from sources · hover to see the quote
commandaction=answerd_ticket&id_form=1 UNION ALL SELECT NULL,NULL,md5({{num}}),NULL,NULL,NULL,NULL,NULL-- -↗
- →Monitor POST requests to /wp-admin/admin-ajax.php with the parameter 'action=answerd_ticket' — this is the unauthenticated AJAX action vulnerable to SQL injection in Nirweb Support <2.8.2. ↗
- →Look for UNION-based SQL injection payloads in the 'id_form' POST parameter on admin-ajax.php requests, particularly patterns like 'UNION ALL SELECT NULL' with comment terminators '-- -'. ↗
- →The exploit is available to unauthenticated users (no authentication/nonce required), so detections should not filter by authentication state. ↗
- →Content-Type header is application/x-www-form-urlencoded; alert on this combination with the answerd_ticket action and SQL metacharacters in id_form. ↗
- ·The SQL injection payload uses an 8-column UNION SELECT (NULL×8), meaning the vulnerable query returns exactly 8 columns. Adjust column counts if probing other injection points. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-8m8m-7fgv-2g6f: The Nirweb support WordPress plugin before 2
ghsa_unreviewed·2022-05-24
CVE-2022-0781 [CRITICAL] CWE-89 GHSA-8m8m-7fgv-2g6f: The Nirweb support WordPress plugin before 2
The Nirweb support WordPress plugin before 2.8.2 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action (available to unauthenticated users), leading to an SQL injection
VulnCheck
nirweb nirweb_support Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2022·CVSS 9.8
CVE-2022-0781 [CRITICAL] nirweb nirweb_support Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
nirweb nirweb_support Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The Nirweb support WordPress plugin before 2.8.2 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action (available to unauthenticated users), leading to an SQL injection
Affected: nirweb nirweb_support
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-17&host_type=src&vulnerability=cve-2022-0781; https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-27&host_type=src&vulnerability=cve-2022-0781; ht
No detection rules found.
Nuclei
WordPress Nirweb Support <2.8.2 - SQL Injection
nuclei·CVSS 9.8
CVE-2022-0781 [CRITICAL] WordPress Nirweb Support <2.8.2 - SQL Injection
WordPress Nirweb Support <2.8.2 - SQL Injection
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.
Template:
id: CVE-2022-0781
info:
name: WordPress Nirweb Support <2.8.2 - SQL Injection
author: theamanrawat
severity: critical
description: |
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 info
2022-05-23
Published
Exploited in the wild