Cloudanix VulnDB

CVE-2017-9100

High · 8.8

CVSS

8.8

EPSS

85.5%

Published

May 21, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

Older D-Link routers can be taken over by anyone who knows to type a long string of spaces into the login screen, letting outsiders reconfigure or spy on the network.

Exploit Available
Exploitation
Adjacent Network
Attacker needs
None
Complexity
Trivial
Impact
Full Compromise
Component
Firmware
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits remote attackers to bypass authentication on the web interface by submitting a password field containing more than 20 blank spaces during an admin login attempt to login.cgi, resulting in unauthorized administrative session establishment.

Why it matters to the business

Attackers can gain full control of affected routers, allowing them to alter network settings, intercept traffic, or use the device as a pivot point into connected networks, increasing risk of broader compromise and operational disruption.

How an attack unfolds

An attacker identifies an exposed D-Link DIR-600M device, crafts an HTTP POST request to login.cgi with the username set to admin and the password field populated with more than twenty space characters, and receives an authenticated session without valid credentials.

How to fix it

Replace affected devices with supported hardware; disable remote management interfaces where possible; apply network segmentation to isolate legacy devices; monitor vendor firmware releases for any future patches if the product line is revived.

How to confirm the fix worked

Test the login.cgi endpoint with an admin username and a password consisting of 21 space characters to confirm whether authentication is still granted; review device firmware version against known vulnerable releases.

Typical attack path

  1. Locate reachable D-Link DIR-600M devices via network scanning or exposed management interfaces
  2. Send crafted HTTP request to /login.cgi containing admin username and password of more than 20 space characters
  3. Receive authenticated administrative session cookie or response
  4. Modify router configuration, enable remote management, or establish persistence for further network access

How to detect it

Review web server or router logs for successful admin logins originating from unexpected sources or accompanied by password fields containing only whitespace; correlate with subsequent configuration changes or unusual outbound traffic.

  • POST /login.cgi with password field containing 20+ space characters
  • Successful authentication response following blank-space password submission

What your security team should do

  • Immediately isolate or decommission DIR-600M devices from production networks
  • Block external access to management ports via firewall rules
  • Scan internal networks for additional instances of the affected firmware
  • Establish device replacement plans with modern supported models

The record

login.cgi on D-Link DIR-600M devices with firmware 3.04 allows remote attackers to bypass authentication by entering more than 20 blank spaces in the password field during an admin login attempt.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities