Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Konqueror DoS Via JavaScript Read Of FTP Iframe
From: mark <mark () bindshell net>
Date: Sun, 04 Mar 2007 21:38:01 +0000

Summary

Konqueror crashes if JavaScript code tries to read the source of a child
iframe which is set to an ftp:// URL.


Impact

It is possible for malicious websites to crash Konqueror and possibly
other applications with rely on KJS.


Details

The KDE JavaScript implementation, KJS has been found to crash when it
tries to read the contents of an FTP iframe.  This can be demonstrated
by creating a web page with an iframe with a src of
"ftp://localhost/anything";, then reading the contents of this iframe
with JavaScript similar to the following.  (A working FTP server is not
required).

var contents =
document.getElementById(iframe_name).contentWindow.document.body.innerHTML;


Exploit

Proof of concept code is available at:
http://bindshell.net/advisories/konq355


Vulnerable Versions

This vulnerability has been tested on Gentoo and Debian running KDE 3.5.5.


Reported By

mark () bindshell net
http://bindshell.net/advisories/konq355


Disclosure Timeline

2007-02-03  Vulnerability reported to security () kde org
2007-02-28  KDE team recreate bug and produce preliminary patch for
nodes.cpp
2007-03-01  KDE team produced updated patch for ecma/kjs_html.cpp
2007-03-04  Public advisory released


Patch Information

The latest patch received from the KDE team is available from:
http://bindshell.net/advisories/konq355/konq355-patch.diff



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


  By Date           By Thread  

Current thread:
  • Konqueror DoS Via JavaScript Read Of FTP Iframe mark (Mar 04)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]