Summary
D-Link DIR-850L firmware FW1.20WWb03 has a flaw in the Console Login component involving hard-coded credentials associated with /usr/sbin/consolepwd. A local attacker may be able to use or expose those credentials, creating a risk of unauthorized access depending on the device's configuration and access controls.
Affected context
The reported issue affects the Console Login component in D-Link DIR-850L firmware FW1.20WWb03. It is associated with /usr/sbin/consolepwd; the available description does not specify the exact function or the conditions under which the credentials are used. Risk depends on whether an attacker can reach the relevant local interface and whether the credentials grant access to protected functionality.
Exploit preconditions
- Attack surface: Local access to the device or its Console Login interface
- Required access: A local position is required; the exact privilege level is not specified
- Trigger point: Interaction with the affected Console Login functionality
- Why exploitation is possible: Credentials embedded in or exposed by the affected component may be usable without relying on a properly managed, unique secret
Why this happens
The issue is attributed to hard-coded credentials in the affected component. Embedding reusable authentication secrets in software can make them difficult to rotate and may allow users who can access the relevant component to obtain or reuse them. This maps primarily to CWE-798: Use of Hard-coded Credentials; CWE-259 is also related to hard-coded passwords.
Potential impact
- An attacker may gain unauthorized access to the device or a protected interface.
- Reused or privileged credentials could allow broader access than intended.
- Compromise of the device could expose its configuration or connected resources.
- Persistent embedded credentials could complicate recovery if they cannot be rotated independently.
General mitigation guidance
Defensive patterns include removing embedded credentials and using unique, securely provisioned secrets that can be rotated. Limit access to local management interfaces, apply least privilege to authentication accounts, and avoid exposing secrets through binaries or logs. Where possible, use secure-by-default authentication that requires administrators to establish or rotate credentials during provisioning.
How teams detect issues like this
Review firmware source and build artifacts for fixed passwords, credential strings, and authentication paths that accept shared defaults. Code review can check whether secrets are provisioned per device, stored securely, and rotatable. Static scanning and release policies can flag embedded credentials and require documented exceptions; operational monitoring can also look for unexpected local login activity.

