Lucene search

K
huntrSampritdas835F66966-AF13-4F07-9734-0C50FDFC3A8C
HistoryApr 10, 2022 - 10:36 a.m.

Stored XSS due to no sanitization in the filename

2022-04-1010:36:43
sampritdas8
www.huntr.dev
29
stored xss
filename sanitization
admin account takeover
image manager
burp suite
co-admin
proof of concept
bug bounty

EPSS

0.001

Percentile

40.5%

Description

The organizr application doesn’t sanitize malicious javascript payload which leads to stored XSS and can also perform to the takeover admin account.

Proof of Concept

1.Login with Co-admin account and go to β€œSettings” -> β€œImage Manager” and upload any small size jpeg image and intercept the request on burp suite.

2.Then change the name of the uploaded image with the below XSS payload and forward the request:

     <img src>.jpeg

3.Then login with admin account and go to β€œSettings” -> β€œImage Manager” and open the uploaded image by Co-admin you will see that XSS will trigger.

PoC Video

https://drive.google.com/file/d/1X8-YyNkt8-MBLY2Btezn2Wel6HLjyhtu/view?usp=sharing

EPSS

0.001

Percentile

40.5%

Related for 35F66966-AF13-4F07-9734-0C50FDFC3A8C