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

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
3 127 over 4 years ago 10 days ago 2 times 95%

Timeline

Discovery Date Vendor Informed Date Disclosure Date
2005-12-15 2005-12-15 2006-02-07

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

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

CVSSv2 Score

CVSSv2 Base Score = 4.6
Source: nvd.nist.gov | Generated: 2006-03-21 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

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 2010 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use