I. BACKGROUND
QNX Software Systems Ltd.'s Neutrino RTOS (QNX) is a real-time
operating
system designed for use in embedded systems. More information
is
available at:
http://www.qnx.com/products/rtos/
II. DESCRIPTION
Local exploitation of an arbitrary library loading vulnerability in QNX
Neutrino RTOS's (QNX) crttrap command allows attackers to gain root
privileges.
The vulnerability specifically exists because crttrap trusts
the
LD_LIBRARY_PATH that a user supplies. A local attacker can create
a
malicious replacement for certain libraries and cause the
replacement
to be loaded in place of the original by manipulating the
LD_LIBRARY_PATH environment variable. The crttrap binary is installed
set user id root by default.
III. ANALYSIS
Successful exploitation provides local attackers with super-user
privileges on the affected system, allowing for complete control. The
system must be in text mode to exploit this vulnerability.
IV. DETECTION
iDefense has confirmed the existence of these vulnerabilities in QNX
Neutrino RTOS version 6.2.1. Earlier versions are also suspected to be
susceptible to exploitation.
V. WORKAROUND
Clear the set user ID or execute bits from the affected binary or remove
it entirely.
VI. VENDOR RESPONSE
This issue has been corrected in QNX Momentics 6.2.1 Patch B and later
versions. Please contact your QNX representative, or visit
http://www.qnx.com/account/login.html to obtain
these patches.
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned
the
name CAN-2005-1528 to this issue. This is a candidate for inclusion
in
the CVE list (http://cve.mitre.org), which standardizes
names for
security problems.
VIII. DISCLOSURE TIMELINE
05/12/2005 Initial vendor notification
02/07/2006 Public disclosure
IX. CREDIT
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp
Free tools, research and upcoming events
http://labs.idefense.com
X. LEGAL NOTICES
Copyright © 2006 iDefense, Inc.
Permission is granted for the redistribution of this
alert
electronically. It may not be edited in any way without the
express
written consent of iDefense. If you wish to reprint the whole or
any
part of this alert in any other medium other than electronically,
please
email customerservice@idefense.com
for permission.
Disclaimer: The information in the advisory is believed to be
accurate
at the time of publishing based on currently available
information. Use
of the information constitutes acceptance for use in an
AS IS condition.
There are no warranties with regard to this
information. Neither the
author nor the publisher accepts any liability
for any direct, indirect,
or consequential loss or damage arising from
use of, or reliance on,
this information.