Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities

-

Release Date:  2006-02-08    Last Update:  2009-01-20    Views:  9,244

Secunia Advisory SA18750

Where:

Local system

Impact:

Privilege escalation, DoS

Solution Status:

Unpatched

Operating System:

CVE Reference(s):

Description


Multiple vulnerabilities have been reported in QNX Neutrino RTOS, which can be exploited by malicious, local users to cause a DoS (Denial of Service) or gain escalated privileges.

1) The crttrap utility loads libraries insecurely, which can be exploited to load an arbitrary library containing malicious code by manipulating the LD_LIBRARY_PATH environment variable.

Successful exploitation allows execution of arbitrary code with root privileges (installed setuid "root" by default), but requires that the system is in text mode.

The vulnerability has been reported in version 6.2.1. Other versions may also be affected.

2) A format string error in the fontsleuth utility can be exploited to execute arbitrary code with root privileges (installed setuid "root" by default) by supplying a specially crafted string as the zeroth argument.

The vulnerability has been reported in version 6.3.0. Other versions may also be affected.

3) A boundary error in the libAp system library in the "_ApFindTranslationFile()" function when handling the ABLPATH environment variable can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges (used by various utilities installed setuid "root" by default).

A similar vulnerability is also present in the handling of the ABLANG environment variable.

The vulnerabilities have been reported in version 6.3.0. Other versions may also be affected.

4) A boundary error in the libph system library in the "setitem()" function when handling the PHOTON_PATH environment variable can be exploited to cause a stack-based buffer overflow and execute arbitrary code with root privileges (used by various utilities installed setuid "root" by default).

The vulnerabilities have been reported in version 6.3.0. Other versions may also be affected.

5) A race condition in the phfont utility (installed setuid "root" by default) when spawning phfontphf can be exploited to gain root privileges by manipulating the PHFONT and PHOTON2_PATH environment variables.

The vulnerability has been reported in version 6.2.1. Other versions may also be affected.

6) A boundary error in the su utility can be exploited to cause a stack-based buffer overflow by passing an overly long string as the first command line argument.

Successful exploitation allows execution of arbitrary code with "root" privileges (installed setuid "root" by default).

The vulnerability has been reported in version 6.2.0. Other versions may also be affected.

7) An error can be exploited to cause the system to become unresponsive and hang by executing the following command:

echo -e "break *0xb032d59fnrncontncont" | gdb gdb

The vulnerability has been reported in version 6.3.0. The vulnerability does not affect version 6.0. Other versions may also be affected.

8) Insecure file permissions on the "/etc/rc.d/rc.local" file can be exploited to gain "root" privileges by adding arbitrary commands to the file.

The security issue has been reported in version 6.3.0. Version 6.0 is unaffected. Other versions may also be vulnerable.

9) A boundary error in the passwd utility can be exploited to cause a buffer overflow by passing an overly long string as the first command line argument.

Successful exploitation allows execution of arbitrary code with "root" privileges (installed setuid "root" by default).

10) An error exists when loading certain ELF binary files, which can be exploited to e.g. crash the system by executing a specially crafted ELF binary.

Vulnerabilities #1 to #9 are reported in version 6.2.0 and vulnerability #10 is confirmed in version 6.4.0. Other versions may also be affected.


Solution:
Grant only trusted users access to affected systems.

Further details available to Secunia VIM customers

Provided and/or discovered by:
1) Discovered by anonymous person and reported via iDEFENSE.
2) iDefense Labs
3) Filipe Balestra
4) Filipe Balestra
5) Knud Højgaard
6) Texonet
7) Discovered by anonymous person and reported via iDEFENSE.
8) Discovered by anonymous person and reported via iDEFENSE.
9) Texonet
10) kokanin

Original Advisory:
iDEFENSE:
1) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=379
2) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=380
3) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=381
4) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=382
5) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=383
6) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=385
7) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=386
8) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=387
9) http://www.idefense.com/intelligence/vulnerabilities/display.php?id=388

kokanin:
10) http://milw0rm.com/exploits/7823

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability