search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Vulnerabilities in TP-Link routers, WR710N-V1-151022 and Archer C5 V2

Vulnerability Note VU#572615

Original Release Date: 2023-01-17 | Last Revised: 2023-01-23

Overview

TP-Link router WR710N-V1-151022 running firmware published 2015-10-22 and Archer-C5-V2-160201 running firmware published 2016-02-01 are susceptible to two vulnerabilities:

  1. A buffer overflow during HTTP Basic Authentication allowing a remote attacker to corrupt memory allocated on a heap causing denial of service or arbitrary code execution;
  2. A side-channel attack via a strcmp() function in the HTTP daemon allowing deterministic guessing of each byte of a username and password input during authentication.

Description

TP-Link device WR710N-V1-151022 is a 150Mbps Wireless N Mini Pocket router, and Archer-C5-V2-160201 is a Wireless Dual Band Gigabit router. These SOHO devices are sold by TP-Link and their latest firmware available as of January 11, 2023, have two vulnerabilities.

CVE-2022-4498 When receiving user input during HTTP Basic Authentication mode, a crafted packet may cause a heap overflow in the httpd daemon. This can lead to denial of service (DoS) if the httpd process crashes or arbitrary remote code execution (RCE).

CVE-2022-4499 A strcmp() function in httpd, is susceptible to a side-channel attack when used to verify usename and password credentials. By measuring the response time of the vulnerable process, each byte of the username and password strings may be easier to guess.

Impact

The two different vulnerabilities have unrelated impacts. The first vulnerability is a heap-based buffer overflow that can cause a crash or allow for arbitrary remote code execution. The second vulnerability is an information disclosure issue where the function used by the httpd process may allow an attacker to guess each byte of a username and password deterministically.

Solution

The CERT/CC is currently unaware of a practical solution to this problem.

Acknowledgements

Thanks to the reporter, Jonathan Bar of Microsoft, for responsibly disclosing these issues.

This document was written by Timur Snoke.

Vendor Information

572615
 

TP-LINK Unknown

Notified:  2022-11-02 Updated: 2023-01-20

CVE-2022-4498 Unknown
CVE-2022-4499 Unknown

Vendor Statement

We have not received a statement from the vendor.

CERT Addendum

We have not received a statement from the vendor.


Other Information

CVE IDs: CVE-2022-4498 CVE-2022-4499
API URL: VINCE JSON | CSAF
Date Public: 2023-01-17
Date First Published: 2023-01-17
Date Last Updated: 2023-01-23 14:36 UTC
Document Revision: 4

Sponsored by CISA.