← Advisories

phlyLabs phlyMail Lite 4.03.04 (go param) Open Redirect Vulnerability

Low
Advisory ID
ZSL-2013-5123
Release Date
13 January 2013
Vendor
Affected Version
Lite 4.03.04
Tested On
Microsoft Windows 7 Ultimate SP1 (EN), Apache 2.4.2 (Win32), PHP 5.4.4, MySQL 5.5.25a
Summary

phlyMail offers you an interface in the browser to have access to your emails, contacts, appointments, tasks, files and bookmakrs from anyhwere, where you have internet access. This can be your home, workplace, train station, abroad, offroad, in the woods or your own backyard.

Description

Input passed via the 'go' parameter in 'derefer.php' script is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.

/frontend/derefer.php: ---------------------- 33: if (!isset($_REQUEST['go'])) exit; 34: $go = preg_replace('!\r|\n|\t!', '', $_REQUEST['go']); 35: if (strlen($go) == 0) exit; 36: if (!preg_match('!^(http://|https://|ftp://)!', $go) && $go{0} != '/') $go = 'http://'.$go; 37: 38: header('Location: '.$go); 39: exit;
Proof of Concept
Disclosure Timeline
23.01.2013Vendor releases version 4.3.57 to address this issue.
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
13.01.2013Initial release
14.01.2013Added reference [2]
15.01.2013Added reference [3], [4] and [5]
16.01.2013Added reference [6] and [7]
18.01.2013Added reference [8]
23.01.2013Added vendor status and reference [9] and [10]
04.03.2014Added reference [11]