22964 : QNX Neutrino RTOS libph Library PHOTON_PATH Environment Variable Local Overflow
Printer | http://osvdb.org/22964 | Email This | Edit Vulnerability

Views This Week

5

Views All Time

82

Info

Last Modified

about 1 year ago

Percent Complete

95%

Disclosure

Feb 07, 2006

Discovery

Dec 15, 2005

Dates

Exploit

Unknown

Solution

Unknown

Keywords

No Keywords

Description

QNX Neutrino RTOS contains a flaw that may allow a local attacker to elevate their privileges. The issue is due to the improper handling of environment variables in the libph library (used by many applications in the Photon API package). The libph system library (libph.so.3) does not check the bounds on user-supplied input to the PHOTON_PATH variable allowing a user to overflow the setitem() function, which will execute arbitrary code under the privilege of the utility calling the library. Since many of the applications linked against libph.so.3 are SUID, there are many vectors for using this to leverage privileged access.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Rumored / Private

Solution

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: remove the setuid bit from any programs linked to libph.so.3

Products

QNX Software Systems
Watch-list
QNX Neutrino RTOS
Watch-list
6.3.0

References

Credit

  • Filipe Balestra - filipeBrand New Doo Doobalestra.com.br -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use