Lucene search

K
huntrSampritdas8781B5C2A-BC98-41A0-A276-EA12399E5A25
HistoryApr 10, 2022 - 10:32 a.m.

Stored XSS viva .svg file upload

2022-04-1010:32:28
sampritdas8
www.huntr.dev
23
stored xss
svg files
image upload
admin account takeover
security vulnerability

EPSS

0.001

Percentile

44.8%

Description

The application allows .svg files to upload which leads to stored XSS

Proof of Concept

1.Download the payload from this link:- https://drive.google.com/file/d/1c1BP5bxXBxtwLfRJTrEPgMWK1yVFDF2R/view?usp=sharing

2.Login to the application with Co-admin account and go to “Settings” -> “Image Manager” and upload the downloaded “XSS.svg” payload.

3.Then login with admin account and go to “Settings” -> “Image Manager” and select the “XSS.svg” and open it on a new tab or open the uploaded location you will see that XSS will trigger and this can lead to the admin account takeover.

PoC video:

https://drive.google.com/file/d/1jdjUHuQPG0xVR3pImcg3vT4cuxhIEuBi/view?usp=sharing

EPSS

0.001

Percentile

44.8%

Related for 781B5C2A-BC98-41A0-A276-EA12399E5A25