Easy Online Tips




Tuesday, January 24, 2006

KDE kjs UTF-8 Encoded URI Buffer Overflow Vulnerability


Maksim Orlovich has reported a vulnerability in KDE kjs, which can be exploited by malicious people to cause a DoS (Denial of Service) or to compromise a user's system.

KDE or the K Desktop Environment allows for easy navigation with the aid of the K File Manager, Virtual Desktops and use of KDE-based applications like K-Edit. Currently, installed by default on many Linux distributions with notable exceptions of RedHat (GNOME) and Debian (Window Maker).

The vulnerability is caused due to a boundary error in kjs in the decoding of UTF-8 encoded URI sequences. This can be exploited to cause a heap-based buffer overflow by supplying specially crafted JavaScript code via an application using the affected JavaScript interpreter engine (e.g. Konqueror).

Successful exploitation allows execution of arbitrary code.

The vulnerability has been reported in versions 3.2.0 through 3.5.0.

Solution:
Apply patches.

KDE 3.4.0 - 3.5.0:
ftp://ftp.kde.org/pub/kde/security_patches/post-3.4.3-kdelibs-kjs.diff
ecc0ec13ce3b06e94e35aa8e937e02bf

KDE 3.2.0 - 3.3.2:
ftp://ftp.kde.org/pub/kde/security_patches/post-3.2.3-kdelibs-kjs.diff
9bca9b44ca2d84e3b2f85ffb5d30e047

Provided and/or discovered by:
Maksim Orlovich

Original Advisory:
http://www.kde.org/info/security/advisory-20060119-1.txt

0 Comments:

Post a Comment

Back to Online Tips