ignore security and it'll go away

SonicWall AntiSpam And Email Security 7.x XSS / Redirection

SonicWall AntiSpam And Email Security 7.x XSS / Redirection
Posted Jan 8, 2012
Authored by Benjamin Kunz Mejri | Site vulnerability-lab.com

SonicWall AntiSpam and Email Security 7.x suffers from cross site scripting, input validation and redirection vulnerabilities.

tags | exploit, vulnerability, xss
MD5 | 2d36f08dcaaf57e88e74c321624d7191

SonicWall AntiSpam And Email Security 7.x XSS / Redirection

Change Mirror Download
Title:
======
SonicWall AntiSpam & EMail Security v7.x - Multiple Web Vulnerabilities


Date:
=====
2012-01-07


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=58


VL-ID:
=====
58


Introduction:
=============
Spam-, Phishing- und mit Viren infizierte Nachrichten verursachen in Unternehmen weltweit weiterhin große Schäden.
Die Kosten, die durch Produktivitätseinbußen, gestohlene Benutzeridentitäten und den Missbrauch vertraulicher Daten
entstehen, können astronomische Höhen erreichen. SonicWALL® Email Security (SES)-Appliances, -Software und -Dienste
stellen eine breite Palette an Anti Spam- und E Mail-Sicherheitslösungen bereit, die den Sicherheitsanforderungen von
Einzelpersonen und von Unternehmen mit 100.000 Mitarbeitern gleichermaßen gerecht werden. SonicWALL sorgt dafür, dass
Sie und Ihr Unternehmen E Mail sicher, produktiv und kosteneffizient nutzen können

(Copy of the Vendor Homepage: http://www.sonicwall.com/de/Email_Security.html)


Abstract:
=========
Vulnerability-Lab Team discovered multiple Web Vulnerabilities on SonicWalls AntiSpam & EMail Security Appliance Application v7.x.


Report-Timeline:
================
2012-01-07: Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================
SonicWall
Product: AntiSpam & EMail Security Appliance Application v7.3.1 & older versions


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
1.1
A persistent input validation vulnerability is detected on SonicWalls AntiSpam & EMail Security Appliance Application v7.3.x.
Remote attackers or low privileged user accounts can manipulate specific application requests via persistent script code inject
& low required user inter action. Successful exploitation can result in session hijacking, persistent context manipulation, application side phishing.

Vulnerable Module(s):
[+] MGMTUser Delegate


1.2
A non-persistent input validation vulnerability is detected on SonicWalls AntiSpam & EMail Security Appliance Application.
Remote attackers can force via high required user inter action client-side requests to steal session data(cookies).

Vulnerable Module(s):
[+] MTA Queue Report

Picture(s):
../ive1.png

1.3
A redirection vulnerability is detected on SonicWalls AntiSpam & EMail Security Appliance Application.
The vulnerability allows an attacker to implement a malicious extern website into the panel website. The redirect is exploitable via direction value.

Vulnerable Module(s):
[+] User Mail View

Picture(s):
../redirect.png

Affected Version(s):
SonicWall AntiSpam & EMail Security Appliance Application - v7.3.x or v7.3.4.5725 & older versions
Typus: AntiSpam & EMail Security Appliance; Comphresive Box; Unified Threat Management Appliance


Proof of Concept:
=================
This vulnerabilities can be exploited by local or remote attackers. For demonstration or reproduce ...

1.1
Code Review(mgmtuser_message.html): Input Validation Vulnerability (Persistent)
<tr valign="top">
<td valign="middle"> <input type="radio" name="dispositionJunk" value="tag" checked="checked" onclick="javascript:document.forms[0].prefixJunk.focus;">
</td><td valign="middle">Tag with <input type="text" name="prefixJunk" size="10" value=">"<iframe src=http://test.de>"
onchange="javascript:document.forms[0].dispositionJunk[2].checked=true;"> added to the subject</td>
</tr></table><BR></td></tr><tr bgcolor="#FFFFFF"><td valign="top"><b>Action for messages marked as <font color="#990000">Likely Spam</font>:</b></td>
<td valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="1"><tr><td width="15"> <input type="radio" name="dispositionMaybe" value="none">
</td><td>Likely Spam blocking off (deliver messages to recipients)</td></tr><tr><td> <input type="radio" name="dispositionMaybe" value="quarantine"></td>
<td>Store in Junk Box and delete after <b>45 days.</b></td></tr><tr>
<td> <input type="radio" name="dispositionMaybe" value="tag" checked="checked" onclick="javascript:document.forms[0].prefixMaybe.focus;">
</td><td>Tag with <input type="text" name="prefixMaybe" size="10" value=">"<iframe src=http://test.de>"
onchange="javascript:document.forms[0].dispositionMaybe[2].checked=true;"> added to the subject</td></tr></table>


Reference(URL):
http://xxx.xxx.com/mgmtuser_delegate.htm


1.2

BUG: IVE - Non Persistent
URL: http://demo.xxx.com/reports_mta_queue_status.html?hostname=greenland%22%3E%3C*

BUG: IVE - Persistent
URL: http://demo.xxx.com/mgmtuser_delegate.html*>

Reference(URL):
http://xxx.com/reports_mta_queue_status.html?hostname=greenland%22%3E%3C...


1.3
Code Review(msg_viewer_user_mail.html): Redirection Vulnerability

<form name="msgMessageStoreViewerForm" method="post" action="/msg_viewer_user_mail.html" id="msgMessageStoreViewerForm">
<input type="hidden" id="messageStoreID" name="messageStoreID" value="shard_20100321/1473108699/JUI"/>
<input type="hidden" id="direction" name="direction" value=">"<INCLUDE OWN SCRIPTCODE HERE!>/>
<input type="hidden" id="preview" name="preview" value="true"/>
<input type="hidden" id="command" name="command"/>
<input type="hidden" id="recipients" name="recipients"/>
<table width="100%" border="0" cellspacing="0" cellpadding="15">
<tr><td><span class="confirmation"></span><table width='100%' border='0' cellspacing='0' cellpadding='4'><tr><td>Processed by: greenland.cdpdemo.local


Reference(URL):
http://xxx.com/msg_viewer_user_mail.html?messageStoreId=shard_20100321/256665421/JUI&direction=


Solution:
=========
1.1
Restrict the input fields via filter or mask & parse the input/output section to patch the persistent script code injection bug.

1.2
Parse the hostname value of the vulnerable module to fix the client side cross site scripting issue.


1.3
Restrict the direction request value to fix the redirection bug.


Risk:
=====
1.1
The security risk of the persistent script code inject vulnerability is estimated as high(-).

1.2
The security risk of the non-persistent vulnerabilities are estimated as medium(-).

1.3
The security risk of the redirection vulnerability is estimated as low(-).


Credits:
========
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of
other media, are reserved by Vulnerability-Lab or its suppliers.

Copyright © 2011|Vulnerability-Lab




--
Website: www.vulnerability-lab.com ; vuln-lab.com or vuln-db.com
Contact: admin@vulnerability-lab.com or support@vulnerability-lab.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close