QNX Neutrino RTOS libAP ApFindTranslationFile() buffer overflow

qnx-libap-bo (24558) The risk level is classified as HighHigh Risk

Description:

QNX Neutrino RTOS is vulnerable to a stack-based buffer overflow in the libAP library, caused by improper bounds checking by the ApFindTranslationFile() function. By supplying an overly long ABLPATH environment variable, a local attacker could overflow and execute arbitrary code on the system with root privileges.

Note: An attacker could also exploit this vulnerability using the ABLANG environment variable.

Platforms Affected:

  • QNX, QNX Neutrino RTOS 6.3.0

Remedy:

No remedy available as of July 4, 2009.

Consequences:

Gain Privileges

References:

  • iDEFENSE Security Advisory 02.07.06, QNX Neutrino RTOS libAp ABLPATH Buffer Overflow Vulnerability at http://www.idefense.com/intelligence/vulnerabilities/display.php?id=381.
  • QNX Software System Web site, QNX Realtime Operating System Overview at http://www.qnx.com/products/rtos/.
  • BID-16539: QNX Multiple Local Privilege Escalation and Denial Of Service Vulnerabilities
  • CVE-2006-0619: Multiple stack-based buffer overflows in QNX Neutrino RTOS 6.3.0 allow local users to execute arbitrary code via long (1) ABLPATH or (2) ABLANG environment variables in the libAP library (libAp.so.2) or (3) a long PHOTON_PATH environment variable to the setitem function in the libph library.
  • OSVDB ID: 22964: QNX Neutrino RTOS libph Library PHOTON_PATH Environment Variable Local Overflow
  • OSVDB ID: 22965: QNX Neutrino RTOS libAP ABLPATH Environment Variable Local Overflow
  • SA18750: QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities
  • SECTRACK ID: 1015599: QNX Neutrino RTOS Multiple Bugs Let Local Users Gain Elevated Privileges
  • VUPEN/ADV-2006-0474: QNX Neutrino RTOS Multiple Local Privilege Escalation Vulnerabilities

Reported:

Feb 07, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page