Document Title:
===============
DELL KBOX SM Appliance  v5.1.x - Multiple Vulnerabilities


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=


Release Date:
=============
2011-07-28


Vulnerability Laboratory ID (VL-ID):
====================================
70


Common Vulnerability Scoring System:
====================================
3.8


Product & Service Introduction:
===============================
The KACE Management Appliance delivers a fully integrated systems management solution, unlike traditional software approaches that 
can require complex and time-consuming deployment and maintenance. KACE accomplishes this via an extremely flexible, intelligent 
appliance-based architecture that typically deploys in days and is self maintaining. The KACE Management Appliance also provides direct 
access to time-saving AppDeploySM systems management community information using AppDeploy Live, the leading destination for end point 
administrators. The result: Comprehensive systems management that is easy-to-use and that can be more economical than software only 
alternatives. Read more in the white paper KACE K1000 Management Appliance Architecture: Harnessing the Power of an Appliance-based Architecture.
Screenshots: http://www.kace.com/products/systems-management-appliance/screenshots/

(Copy of the Vendor Homepage: http://www.kace.com/products/systems-management-appliance/)


Abstract Advisory Information:
==============================
Vulnerability-Lab Research Team discovered multiple persistent Web Vulnerabilities on the Dell 
KACE Management Appliance.


Vulnerability Disclosure Timeline:
==================================
2011-07-29:	Public or Non-Public Disclosure


Discovery Status:
=================
Published


Affected Product(s):
====================

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


Severity Level:
===============
Low


Technical Details & Description:
================================
Multiple input validation vulnerabilities(persistent) are detected on Dell Kace Systems - Management Appliance. Attackers can 
include (persistent) malicious script codes to manipulate specific customer requests & sections. It is also possible to hijack customer sessions
with persistent script code attacks.

Vulnerable Modules: (Persistent)
						[+] MSP Inventory
						[+] Patch2
						[+] Queue
						[+] Report List
						[+] Report Schedule
						[+] settings linking

		
			
Pictures/Screens:
						../Pictures/1.png
						../Pictures/2.png
						../Pictures/3.png


Proof of Concept (PoC):
=======================
he vulnerabilities can be exploited by remote attackers with or without user inter-action. For demonstration or reproduce  ...


Code Review: 	MSP Inventory	(Persistent)

<td class="tableHeader" width="22"><input id="selectAll" 
type="checkbox" name="selBox" onclick="checkAllBoxes(this, 
'list');"></td>
<td  align="center" class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=PATCH_STATUS"><img
 src="/common/images/grayx_tiny.gif" border="0" 
/></a></td>
<td  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=IDENTIFIER">ID
 [labels hidden]</a></td>
<td  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=TITLE">Title
 (short)</a></td>
<td  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=DATEPOSTED_SECONDS">Release
 Date</a></td>
<td  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=IMPACT_SEQ">Impact</a></td>
<td
  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=REBOOT_ATTRIBUTE">Reboot</a></td>
<td
  align="center" class="tableHeader"><img 
src="/adminui/images/kbot_ok.gif" border="0" title="Expected" /> 
· <img src="/adminui/images/kbot_unknown.gif" border="0" 
title="To Do" /> · <img 
src="/adminui/images/kbot_error.gif" border="0" title="Error" 
/></td>
<td  class="tableHeader"><a 
href="/adminui/msp_inventory.php?YEAR=<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>&ORDER[]=UNPATCHED">Unpatched</a></td>

</table>
</td><td
class="tableHeaderScrollBarPlaceholder"> </td></tr></table>
</div>
<div
 id="scrollingContentBody">
<table style='table-layout:fixed;' border="0" cellspacing="0" 
cellpadding="0" width="100%">
<col style='padding-left: 4px;' width='24'>
<col width="3%"  align="center">
<col width="11%" style='padding-left: 2px;' align="left">
<col width="39%" style='padding-left: 2px;' align="left">
<col width="10%" style='padding-left: 2px;' align="left">
<col width="10%" style='padding-left: 2px;' align="left">
<col width="9%" style='padding-left: 2px;' align="left">
<col width="10%"  align="center">
<col width="12%" style='padding-left: 2px;' align="left">
</table>
        <div class="bodyMessage">
        <div class="bodyMessageTitle">Info...</div>
            <p>No patches currently available.</p>
        </div></div>
</form>
</div>
</div>
<div class='forceClear'></div>
</div>
<div id="floatFooter"><span id="aboutLink"><a href="#" 
onClick='openAboutWindow("/common/about.php");'><span>About 
KBOX</span></a></span><span 
id="copyrightInfo">  |  © 2010
 Dell Inc.</span><span id="reportBug">Thu, 22 Jul 2010 
12:54:45 CDT  <img style='vertical-align: text-top;
 margin-left:8px;' border='0' 
src="/common/images/harmony/phone_16.gif"> <a 
style='margin-left:1px;' 
href="bug_report.php?location=%2Fadminui%2Fmsp_inventory.php%3FYEAR%3D%25<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>">Report
 Bug</a></span></div></div>
<script language="javascript" type="text/javascript">
<!--
function allowSearchEnterKey(evt) {
   var evt = (evt) ? evt : ((event) ? event : null);
   var node = (evt.target) ? evt.target : ((evt.srcElement) ? 
evt.srcElement : null);
   if (evt.keyCode == 13 && node.type=='text' && 
node.name == 'GLOBAL_SEARCH_SELECTION') {
      return true;
   } else {
      return original_onkeypress(evt);
   }
}




Code Review: 	Patch2		(Persistent)

<tr>
<td colspan='13' class='summaryHeaderFormat'>
<b>
<table 
style='width:100%;border-width:0px;border-color:gray;border-style:solid;border-collapse:collapse;'
 >
<tr>
  <td class='summaryHeaderFormat' style='padding:0 20 0 0'> <a 
href='patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&STATUS=1#patchstatusA'><b>Failed</b></a>
 </td>  <td class='summaryHeaderFormat' style='padding:0 20 0 
0'> <a href='patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&STATUS=4#patchstatusA'>Not Patched</a>
 </td>  <td class='summaryHeaderFormat' style='padding:0 20 0 
0'> <a href='patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&STATUS=3#patchstatusA'>Patched</a>
 </td>  <td class='summaryHeaderFormat' style='padding:0 20 0 
0'> <a href='patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&STATUS=5#patchstatusA'>All</a> 
</td><td style='width:90%'> </td>
</tr>
</table>
</b>
               </td>
            </tr>
<tr><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b>#</b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b>S</b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=MACHINE_NAME&STATUS=1#patchstatusA'
 title ='Click to sort'>Machine Name 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=DETECT_STATUS&STATUS=1#patchstatusA'
 title ='Click to sort'>Detect Status 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=DETECT_DATE&STATUS=1#patchstatusA'
 title ='Click to sort'>Detect Date 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<iframe 
src=http://<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=DEPLOY_STATUS&STATUS=1#patchstatusA'
 title ='Click to sort'>Deploy Status 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<iframe 
src=http://<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=DEPLOY_DATE&STATUS=1#patchstatusA'
 title ='Click to sort'>Deploy Date 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=DEPLOY_TRIES&STATUS=1#patchstatusA'
 title ='Click to sort'>Deploy Tries 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=ROLLBACK_STATUS&STATUS=1#patchstatusA'
 title ='Click to sort'>Rollback Status 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=ROLLBACK_DATE&STATUS=1#patchstatusA'
 title ='Click to sort'>Rollback Date 
</a></b></td><td 
style='border:1px;border-color:gray;border-style:solid'' align='left' 
class='summaryHeaderFormat'>
                        <b><a href = 
'patch.php?IDS[]=>"<<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>>&ORDER=asc&FIELD=ROLLBACK_TRIES&STATUS=1#patchstatusA'
 title ='Click to sort'>Rollback Tries 
</a></b></td></tr>
 </table><br/><table><tr 





Code Review: 	Report Schedule	(Persistent)

<div id="floatFooter"><span id="aboutLink"><a href="#" 
onClick='openAboutWindow("/common/about.php");'><span>About 
KBOX</span></a></span><span 
id="copyrightInfo">  |  © 2010
 Dell Inc.</span><span id="reportBug">Thu, 22 Jul 2010 
13:12:41 CDT  <img style='vertical-align: text-top;
 margin-left:8px;' border='0' 
src="/common/images/harmony/phone_16.gif"> <a 
style='margin-left:1px;' 
href="bug_report.php?location=%2Fadminui%2Freport_schedule.php%3FID%3D%253E%2522%253C<INCLUDED PERSISTENT SCRIPTCODE HERE!!!>">Report
 Bug</a></span></div></div>
<script language="javascript" type="text/javascript">
<!--
function allowSearchEnterKey(evt) {
   var evt = (evt) ? evt : ((event) ? event : null);
   var node = (evt.target) ? evt.target : ((evt.srcElement) ? 
evt.srcElement : null);
   if (evt.keyCode == 13 && node.type=='text' && 
node.name == 'GLOBAL_SEARCH_SELECTION') {
      return true;
   } else {




Code Review: Report List  (Persistent)

<div style="width: 100%;">
<div id="pageName"><h2>KBOX Reports</h2></div><div id="filterandsearch"><form
 id="search" method="get" action="/adminui/report_list.php"><input 
name="CATEGORY_ID" value=">"<INCLUDED PERSISTENT SCRIPTCODE HERE!!!><div
 style="" type="hidden"><table border="0" cellpadding="0" 
cellspacing="0"><tbody><tr><td><input name="SEARCH_SELECTION" size="27" 
max="50" type="text"></td><td><input value="Search" size="10" 
type="submit"></td></tr></tbody></table><div id="filterMenu">
<span class="inputFormat">View by: </span><span 
widgetid="dijit_form_DropDownButton_0" style="width: 5%; font-size: 
10px;" class="dijit dijitReset dijitLeft dijitInline inputFormat tundra 
dijitDropDownButton" dojoattachpoint="_buttonNode" 
dojoattachevent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse"><span
 class="dijitReset dijitRight dijitInline"><span class="dijitReset 
dijitInline dijitButtonNode"><button style="-moz-user-select: none;" 
tabindex="0" id="dijit_form_DropDownButton_0" 
aria-labelledby="dijit_form_DropDownButton_0_label" aria-haspopup="true"
 role="button" class="dijitReset dijitStretch dijitButtonContents 
dijitDownArrowButton" type="button" value="" 
dojoattachpoint="focusNode,titleNode,_arrowWrapperNode" wairole="button"
 waistate="haspopup-true,labelledby-dijit_form_DropDownButton_0_label"><span
 class="dijitReset dijitInline" dojoattachpoint="iconNode"></span><span 
class="dijitReset dijitInline dijitButtonText" 
dojoattachpoint="containerNode,_popupStateNode" 
id="dijit_form_DropDownButton_0_label"></span><span class="dijitReset 
dijitInline dijitArrowButtonInner">?</span><span class="dijitReset 
dijitInline dijitArrowButtonChar">?</span></button></span></span></span>
</div>






References:
		../msp_inventory.php
		../patch2.php
		../queue.php
		../report_list.php
		../report_schedule.php
		../settings_linking.php


Security Risk:
==============
The security risk of the persistent vulnerabilities are estimated as medium.


Credits & Authors:
==================
Vulnerability Research Laboratory


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:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
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 (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory