Lucene search

K
huntrAjaysenr856BD2E2-DB4F-4B7D-9927-222261AE3782
HistoryMar 13, 2022 - 9:53 a.m.

Stored XSS due to Unrestricted File Upload

2022-03-1309:53:34
ajaysenr
www.huntr.dev
15

0.001 Low

EPSS

Percentile

21.6%

Description

Stored XSS via uploading files in .aspx format.

Proof of Concept

filename="poc.aspx"

<script>alert(1)</script>

Steps to Reproduce

1.Login into showdoc.com.cn.
2.Navigate to file library (https://www.showdoc.com.cn/attachment/index)
3.In the File Library page, click the Upload button and choose the poc.aspx
4.After uploading the file, click on the check button to open that file in a new tab.

XSS will trigger when the attachment is opened in a new tab.

POC URL: https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=0ce90b660db0b2df5d2171d5c7469631

Impact

An attacker can perform social engineering on users by redirecting them from a real website to a fake one. a hacker can steal their cookies etc.

0.001 Low

EPSS

Percentile

21.6%

Related for 856BD2E2-DB4F-4B7D-9927-222261AE3782