Lucene search

K
huntrTomorroisnew3FA2ABDE-CB58-45A3-A115-1727ECE9ACB9
HistorySep 30, 2023 - 11:50 a.m.

Open Redirect

2023-09-3011:50:40
tomorroisnew
www.huntr.dev
11
open redirect
project switch endpoint
symfony function
user-controlled input
bug bounty

EPSS

0.001

Percentile

42.3%

Description

There is an open redirect in the endpoint /project/switch/{project} due to the use of symfony’s redirect() function from a user controlled input.

Proof of Concept

        $targetPath = $request->query->get('targetPath', false);
        if ($targetPath) {
            return $this->redirect($targetPath);
        }

http://127.0.0.1:8080/project/switch/1?targetPath=https://google.com

EPSS

0.001

Percentile

42.3%

Related for 3FA2ABDE-CB58-45A3-A115-1727ECE9ACB9