Secunia Logo
Netsikker nu! 2008
 
QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities
Secunia Advisory: SA18750
Release Date: 2006-02-08
Last Update: 2006-02-14
Popularity: 5,560 views

Critical:
Less critical
Impact: Privilege escalation
DoS
Where: Local system
Solution Status: Unpatched

OS:QNX Neutrino RTOS 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-1528
CVE-2006-0618
CVE-2006-0619
CVE-2006-0620
CVE-2006-0621
CVE-2006-0622
CVE-2006-0623


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).

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

Solution:
Grant only trusted users access to affected systems.

Remove setuid bits from affected files. Set proper file permissions on the rc.local file, and allow only trusted users to run GDB.

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

Changelog:
2006-02-14: Added CVE references.

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


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 6
New vulnerabilities: 24
Updated advisories: 9

Moderately // 60 views
Red Hat update for condor
Moderately // 56 views
Condor Multiple Vulnerabilities
Moderately // 85 views
Gentoo update for wordnet
Moderately // 94 views
Red Hat update for kernel

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 61

Moderately // 463 views
Debian update for php5
Moderately // 363 views
Atarone CMS Multiple Vulnerabilities

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Red Hat update for kernel // 80 views
2. Gentoo update for wordnet // 71 views
3. Debian update for php5 // 60 views
4. Adobe Flash Player "Clickjacking" Security Bypass Vulnerability // 59 views
5. Red Hat update for condor // 40 views
6. Atarone CMS Multiple Vulnerabilities // 38 views
7. Condor Multiple Vulnerabilities // 37 views
8. SUSE update for openssh // 33 views
9. Debian update for squid // 32 views
10. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 31 views