Description
ptrace in Linux 2.2.x through 2.2.19, and 2.4.x through 2.4.9, allows local users to gain root privileges by running ptrace on a setuid or setgid program that itself calls an unprivileged program, such as newgrp.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Linux Kernel 2.2/2.4 - Ptrace/Setuid Exec Privilege Escalation EDB-21124 · local · Oct 18, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- RHSA-2001:130 vendor-advisory
- IMNX-2001-70-035-01 vendor-advisory
- ESA-20011019-02 vendor-advisory
- HPSBTL0112-003 vendor-advisory
- 20011018 Flaws in recent Linux kernels mailing-list
- RHSA-2001:129 vendor-advisory
- 20011019 TSLSA-2001-0028 mailing-list
- linux-ptrace-race-condition(7311) vdb-entry
- SuSE-SA:2001:036 vendor-advisory
- MDKSA-2001:082 vendor-advisory
- 3447 vdb-entry
- MDKSA-2001:079 vendor-advisory