Lucene search

K
huntr1dayluo60E38563-7AC8-4A13-AC04-2980CC48B0DA
HistoryAug 15, 2023 - 2:05 a.m.

File Upload Bypass Leads to Stored XSS

2023-08-1502:05:50
1dayluo
www.huntr.dev
8
file upload
bypass
stored xss
php
pathinfo
proof of concept
video
bug bounty

0.0004 Low

EPSS

Percentile

14.2%

Description

Fix at https://huntr.dev/bounties/fce38751-bfd6-484c-b6e1-935e0aa8ffdc/ is not adequate,attacker can use test.html?a=1 to bypass built-in PHP function pathinfo(). (Also can used for .php )

Proof of Concept

// payload.html?a=1
<script>alert('xss')</script>

POC Video: https://drive.google.com/file/d/1PZmAhAKMRsA2VB6fMng7UyCYn57iFdpr/view?usp=sharing

0.0004 Low

EPSS

Percentile

14.2%

Related for 60E38563-7AC8-4A13-AC04-2980CC48B0DA