Join Trustwave at the 2023 Gartner Security & Risk Management Summit in London, September 26-28. Learn More

Join Trustwave at the 2023 Gartner Security & Risk Management Summit in London, September 26-28. Learn More

Managed Detection & Response

Eradicate cyberthreats with world-class intel and expertise

Managed Security Services

Expand your team’s capabilities and strengthen your security posture

Consulting & Professional Services

Tap into our global team of tenured cybersecurity specialists

Penetration Testing

Subscription- or project-based testing, delivered by global experts

Database Security

Get ahead of database risk, protect data and exceed compliance requirements

Email Security & Management

Catch email threats others miss with layered security & maximum control

Co-Managed SOC (SIEM)

Eliminate alert fatigue, focus your SecOps team, stop threats fast, and reduce cyber risk

Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
The Trustwave Approach
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Platform
SpiderLabs Fusion Center
Security Operations Centers
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats

D-Link: Multiple Security Vulnerabilities Leading to RCE

On the 30th of October, D-Link published a support announcement and released a new firmware to patch five vulnerabilities that Harold Zang, Technical Security Specialist at Trustwave, identified on the DSL-2888A router. These security vulnerabilities could allow a malicious Wi-Fi or local network user to gain unauthorised access to the router web interface, obtain the router password hash, gain plaintext credentials, and execute system commands on the router.

Finding-1: Insufficient Authentication (CVE-2020-24579)

The router web portal has insufficient authentication in place allowing access to any authenticated administrative page without the requirement to have the correct password. A malicious user located on the same network can directly browse to any authenticated administrative page with invalid credentials.

  1. Browse to the router web interface:
  2. Submit any string as password
  3. The application will inform the user that the password is invalid, however, a valid access session is achieved
  4. Browse to any authenticated page. For example: /WiFi.shtml.

The following video demonstrates this vulnerability:

Finding-2: Information Leakage (CVE-2020-24577)

Upon establishing connection to the network either via physical connection or via wireless access, a malicious user can obtain the Internet provider connection username and password in plaintext, and the wireless router login username and password in plaintext by directly browsing to the following URLs:


Screen Shot 2020-11-06 at 1.38.08 pm

Finding-3: FTP Misconfiguration (CVE-2020-24578)

The D-Link DSL-2888A router has a file sharing functionality that allows users to share fileswith other network users via inserting an external drive onto the router. This is then shared via FTP (File Transfer Protocol). However, FTP service allows a network user to escape the shared folder to access the router file system and download other files located on the root folder.

The following provides an example for downloading the “passwd”:
Use the following command on an FTP client to connect to the FTP service with valid credentials (obtained from Finding-2).
ftp <DeviceIP>

Use the following command to navigate to the root folder.
ftp>cd /

Use the following command to download the password hash file.
ftp>cd etc/
ftp>get passwd

Screen Shot 2020-11-06 at 1.41.24 pm

The attacker must first obtain the FTP credentials. Finding-2 disclosed the credential in plaintext.

Finding-4: Hidden Functionality (CVE-2020-24581)

An authenticated user can to execute Linux operation system commands in the router via hidden functionality not available on the router’s web portal interface.

The following is a Proof of Concept URL:

Screen Shot 2020-11-06 at 1.43.45 pm

Screen Shot 2020-11-06 at 1.44.08 pm

The ability to execute operation system commands on a router will allow an attacker to monitor network traffic to steal sensitive data including login credentials, this might also allow a malicious user to install backdoors on the router.

Although exploitation of this requires authentication, Finding-1 provides a way to bypass the authentication.

Finding-5: Improper Authentication (CVE-2020-24580)

The last vulnerability was another insufficient authentication vulnerability. The router uses the source IP address of a connecting user to perform authentication. The allows a malicious user to “spoof” the IP address of a legitimate user with a valid session by changing their IP address to that of an administrator user, to browse to any authenticated administrative web pages.

Trustwave Advisory: TWSL2020-011: Multiple Vulnerabilities in D-Link DSL-2888A