jeffzh3ng / fuxi

Penetration Testing Platform
MIT License
1.34k stars 373 forks source link

XSS Stored on Plugins #2

Closed mthbernardes closed 6 years ago

mthbernardes commented 6 years ago

There is a XSS stored on plugin management, when you upload a plugin with a tag script on it (I tested on plugin name), the app evals the tag when you click on Plugin Info button

#!/usr/bin/python
# -*- coding: utf-8 -*-

import binascii
import socket

from pocsuite.poc import POCBase, Output
from pocsuite.utils import register
from pocsuite.api.utils import url2ip

class TestPOC(POCBase):
    name = "Doublepulsar<script>alert()</script>"
    vulID = ''
    author = ['seebug']
    vulType = 'Buffer Overflow'
    version = '1.0'
    references = ['http://paper.seebug.org/279/']
    desc = '''Doublepulsar backdoor'''

deepinscreenshot_select-area_20180625214812

jeffzh3ng commented 6 years ago

Thank you for your contribution!