[MajorSecurity Advisory #44]MailBee WebMail Pro - Cross Site Scripting Issue
Product: MailBee WebMail Pro 3.4
Discovered by: David Vieira-Kurz
"MailBee WebMail Pro is a web based mail client built as a set of ASP scripts." [from http://www.afterlogic.com]
Cross Site Scripting:
Input passed directly to the "username" parameter in "check_login.asp" is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Edit the source code to ensure that input is properly sanitised.
You should work with "htmlspecialchars()" or "htmlentities()" php-function to ensure that html tags
are not going to be executed.
$email = htmlspecialchars($_POST['email']);
$test = htmlentities($_GET('test'));
05.04.2007 discovery of the vulnerability
06.04.2007 additional tests with other versions
08.04.2007 contacted the vendor
09.04.2007 vendor confirmed the bugs
13.04.2007 advisory is written
13.04.2007 advisory released
MajorSecurity is a non-profit German penetration testing and security research project
which consists of only one person at the present time.