Lucene search

K
huntrScriptidiotB3A983A3-17F9-4AA8-92D7-8A0C92A93932
HistoryMar 13, 2022 - 2:20 p.m.

File Upload Restriction Bypass leading to Stored XSS Vulnerability

2022-03-1314:20:26
scriptidiot
www.huntr.dev
15

0.001 Low

EPSS

Percentile

30.2%

Description

File Upload Restriction Bypass leading to Stored XSS Vulnerability, by leveraging file extension vbhtm, vbhtml, soap, even any extension ends with html (e.g. aahtml, bbhtml)

Proof of Concept

Step 1) Access https://www.showdoc.com.cn/attachment/index

Step 2) Prepare a file with content below and named as xss.vbhtm to upload

<script>alert(1)</script>

Step 3) Click check

XSS will be triggered
image

Impact

An attacker could leverage this to perform social engineering and thereby stealing victim’s cookie etc.

0.001 Low

EPSS

Percentile

30.2%

Related for B3A983A3-17F9-4AA8-92D7-8A0C92A93932