Authentication bypass in TP-Link TL-WR841N routers lets httpd leak stored credentials

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2023-50224?

CVE-2023-50224 is a vulnerability classified as Authentication Bypass by Spoofing, affecting TL-WR841N (affected versions: 3.16.9 build 200409, V8, and other affected versions), TL-WR841ND (affected versions: V8, V9, and other affected versions), TL-MR6400 (affected versions: V1 and V2), and 19 more products. This vulnerability is rated Medium, with a CVSS score of 6.5. This vulnerability has been observed being exploited in the wild.

Overview

Original source data

TP-Link TL-WR841N dropbearpwd Improper Authentication Information Disclosure Vulnerability. This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of TP-Link TL-WR841N routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the httpd service, which listens on TCP port 80 by default. The issue results from improper authentication. An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise. Was ZDI-CAN-19899.

Affected products and scope

TP-Link TL-WR841N routers are the named product, and the record also lists a long set of related TP-Link router and access point models across specific hardware revisions, including TL-WR841ND, TL-MR6400, TL-WR740N, TL-WR741ND, TL-WR840N, TL-WR842N, TL-WR842ND, TL-WR845N, TL-WR941ND, TL-WR945N, TL-WR749N, TL-WR1043ND, TL-WR1045ND, TL-MR3420, TL-WDR3500, TL-WDR3600, TL-WDR4300, Archer C5, Archer C7, TL-WA801ND and TL-WA901ND. Affected status is tied to particular hardware revisions of each model, so the revision printed on the unit matters. The record does not identify any configuration as unaffected, and does not state that any model outside this list is affected.

Technical details

The weakness is an improper authentication check, classified as an authentication bypass by spoofing. The affected component is the httpd service on the device, which listens on TCP port 80 by default and handles requests for the web management interface. Because authentication is not enforced correctly on the affected code path, a request from an unauthenticated party on the adjacent network is answered with stored credential data instead of being rejected.

The record names the flaw in connection with the router's dropbearpwd handling and attributes it to the httpd service. Public detail stops there: the record does not describe the specific request, the parameters involved, or which credential store is read. Treat the exact request shape as unpublished.

Exploitability

Reachable from the adjacent network only, meaning the attacker needs a position on the same LAN, Wi-Fi, or connected segment. No authentication and no user interaction are required, and attack complexity is low, so a reachable device is straightforward to attack. The record marks this as known to be exploited in the wild and as having a public exploit, so this is not a waiting-for-research situation.

Technical impact

An attacker gains read access, without authentication, to credentials stored on the router. That is a confidentiality loss rather than an immediate takeover: the flaw itself does not let the attacker change configuration or disrupt service. The value is in what the stolen secrets unlock, which is why the record describes the disclosure as leading to further compromise.

Business impact

Routers sit at the edge of a network, so anything they hold is effectively a foothold into everything behind them. Credentials recovered from a compromised unit can be reused against the ISP account, against other services the router was configured to talk to, and against the router's own administration. That turns a single unpatched device into an entry point for traffic interception, redirection, or a broader compromise of the office network.

Who should care: anyone running these models as an internet gateway or access point, including branch offices, retail sites, and home workers connecting back to a corporate network. For a home worker the exposure is that a compromised gateway can be used to reach the corporate side. For a business, the recovery cost is a hardware swap plus credential rotation across the accounts the router touched.

Remediation

There is no fix described in the record, and affected status covers a large installed base of consumer hardware that vendors rarely patch this late. Check the TP-Link support pages for your exact model and hardware revision for current firmware and guidance, and replace the device if nothing is available, since this is exploited in the wild.

Reduce reach in the meantime: keep the router's web interface off the internet side, segment guest and untrusted devices away from the management network, and do not treat the router as a trust boundary for anything sensitive. Because stored credentials can be read, rotate the ISP, dynamic DNS, and admin passwords that the device holds once it has been exposed.

Detection

Consumer routers log very little, so assume the device itself will not tell you. Look at what reaches port 80 on the management interface: HTTP requests from hosts that are not your administrative machines, and any management traffic arriving from the WAN side, are the things worth alerting on. Network monitoring or a proxy in front of the router is more reliable than on-device logs here.

On the host side, watch for unexpected configuration changes, new port forwards, DNS changes, and logins to upstream services from the router's address. An inventory pass over connected clients and DHCP leases on each device helps spot something that was not there before.

Sources (11)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.