Description
The Debian GNU/Linux 033_-F_NO_SETSID patch for the Apache HTTP Server 1.3.34-4 does not properly disassociate httpd from a controlling tty when httpd is started interactively, which allows local users to gain privileges to that tty via a CGI program that calls the TIOCSTI ioctl.
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.
Exploit-DB 1
- Apache 1.3.34/1.3.33 (Ubuntu / Debian) - CGI TTY Privilege Escalation EDB-3384 · local · Feb 28, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20070226 Local user to root escalation in apache 1.3.34 (Debian only) mailing-list
- 22732 vdb-entry
- debian-apache-tty-privilege-escalation(32708) vdb-entry
- 33816 vdb-entry
- 24324 third-party-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357561