Overview

The D-Link DSL-6740C network device contains a flaw in the FTP daemon configuration file (/etc/templates/ftpd/ftpd_conf.php). Manipulation of this file inserts hard-coded credentials that can be exploited remotely. The vulnerability is rated critical with a CVSS score of 10.0, indicating maximum severity.

Technical details

The weakness resides in an unknown function handling the FTP daemon configuration file. An attacker who can modify /etc/templates/ftpd/ftpd_conf.php can embed static username and password values. Because the FTP service is reachable over the network, remote exploitation is possible without authentication, leading to credential disclosure.

Impact

An attacker who successfully exploits the flaw can gain valid FTP credentials and obtain unauthorized access to the device’s file system and configuration. This exposes any organization deploying the DSL-6740C with the affected firmware to potential data theft, device takeover, and further lateral movement within the network.

Recommended actions

  • Patch the device with a vendor-supplied update as soon as it is released.
  • Check the vendor advisory for a patched version if one is not yet available.
  • Restrict network access to the FTP service to only trusted hosts.
  • Disable the FTP service if it is not required for operations.
  • Monitor FTP daemon logs for unauthorized login attempts or credential use.

Detection

Review FTP daemon logs on the DSL-6740C for authentication events involving default or unexpected usernames. Correlate log timestamps with any external connection attempts. Alert on repeated failed logins or successful logins from unfamiliar IP addresses to identify potential exploitation.

Reference: NVD entry for CVE-2026-129444