Exploitation Summary
EIP tracks 1 public exploit for CVE-2002-2042. PoCs published by badc0ded.
AI-analyzed exploit summary This exploit leverages an insecure ptrace() implementation in QNX RTOS to escalate privileges by attaching to a setuid program (su) and modifying its execution flow via gdb commands. It creates a script to spawn a setuid shell, then uses gdb to inject a setuid(0) call into the su process.
Description
ptrace in the QNX realtime operating system (RTOS) 4.25 and 6.1.0 allows programs to attach to privileged processes, which could allow local users to execute arbitrary code by modifying running processes.
Exploits (1)
This exploit leverages an insecure ptrace() implementation in QNX RTOS to escalate privileges by attaching to a setuid program (su) and modifying its execution flow via gdb commands. It creates a script to spawn a setuid shell, then uses gdb to inject a setuid(0) call into the su process.