QNX RTOS rc.local insecure permissions could allow root privileges

qnx-rclocal-root-privileges (24552) The risk level is classified as HighHigh Risk

Description:

QNX Neutrino RTOS creates the /etc/rc.d/rc.local file with world writable permissions. A local attacker could embed commands within this file that would be executed with root privileges when the system is restarted, allowing the attacker to gain root privileges on the system..

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 RTOS 6.3.0 rc.local Insecure File Permissions Vulnerability at http://www.idefense.com/intelligence/vulnerabilities/display.php?id=387.
  • 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-0623: QNX Neutrino RTOS 6.3.0 ships /etc/rc.d/rc.local with world-writable permissions, which allows local users to modify the file and execute arbitrary code at system startup.
  • OSVDB ID: 22958: QNX Neutrino RTOS rc.local Permission Weakness Privilege Escalation
  • SA18750: QNX Neutrino RTOS Multiple Privilege Escalation Vulnerabilities
  • SECTRACK ID: 1015598: QNX RTOS Unspecified Bug Lets Local Users Deny Service and `rc.local` Configuration Lets 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