/usr/bin/pppd vulnerable to a buffer overflow (exploit code)
10 Dec. 2000
Summary
A security vulnerability in HP UNIX's /usr/bin/pppd (A PPP daemon) allows local users to gain root privileges by overflowing one of the pppd's internal parameters.
The exploit code below demonstrates this vulnerability.
Exploit:
/* Copyright (c) 2000 ADM */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ADM */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* */
/* Title: HP-UX pppd */
/* Tested under: HP-UX 11.0 */
/* By: K2 */
/* Use: gcc -o pppd hp-pppd.c ; ./pppd */
/* (more hp to come :) */
/* */