Qt: Untrusted library search path

Security Team  Contact Address

Updated March 01, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-01 / qt
Release Date March 01, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/qt < 3.3.4-r2 >= 3.3.4-r2 All supported architectures

Related bugreports: #75181

Synopsis

Qt may load shared libraries from an untrusted, world-writable directory, resulting in the execution of arbitrary code.

2.  Impact Information

Background

Qt is a cross-platform GUI toolkit used by KDE.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team has discovered that Qt searches for shared libraries in an untrusted, world-writable directory.

Impact

A local attacker could create a malicious shared object that would be loaded by Qt, resulting in the execution of arbitrary code with the privileges of the Qt application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Qt users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-libs/qt-3.3.4-r2"

4.  References