Open Redirect in zikula/core


Reported on

Sep 20th 2021


Open Redirect on Login with parameter ?returnUrl=

Proof of Concept

POST /login?returnUrl= HTTP/2
Cookie: _zsid=b6g4qa64983t2tg073uh1e1rjm
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 261
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Te: trailers


Video PoC : PoC


This functionality is not restricted to relative URLs within the application and could be leveraged by an attacker to fool an end user into believing that a malicious URL they were redirected to is valid.

We have contacted a member of the zikula/core team and are waiting to hear back a year ago
Axel Guckelsberger validated this vulnerability a year ago
lethanhphuc has been awarded the disclosure bounty
The fix bounty is now up for grabs
Axel Guckelsberger confirmed that a fix has been merged on a43c7b a year ago
Axel Guckelsberger has been awarded the fix bounty
to join this conversation