Advisory Details

March 31st, 2023

TP-Link AX1800 Firmware Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-23-377
ZDI-CAN-19703

CVE ID CVE-2023-27346
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS TP-Link
AFFECTED PRODUCTS AX1800
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link AX1800 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of firmware images. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS

Fixed in AX21 version V3230219
https://www.tp-link.com/us/support/download/archer-ax21/v3/#Firmware


DISCLOSURE TIMELINE
  • 2022-12-28 - Vulnerability reported to vendor
  • 2023-03-31 - Coordinated public release of advisory
CREDIT Kevin Wang
BACK TO ADVISORIES