Skip to content
Memory corruption Advisory Advanced CVE-2025-59487

Tp-Link AX53 v1.0 tmpServer opcode 0x441 Write-What-Where vulnerability

A write-what-where flaw exists in the tmpServer service of the TP-Link AX53 router, where a user-controlled value from one TLV field determines the destination address of a later write. An attacker able to reach the service could write arbitrary data to arbitrary memory and potentially achieve code execution.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A write-what-where vulnerability exists in the tmpServer opcode 0x441 functionality of Tp-Link AX53 v1.0 1.3.1 Build 20241120 rel.54901(5553). A specially crafted set of network packets can lead to arbitrary code execution.

Lilith >_>, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing validation of a user-supplied offset used as a write destination, allowing an attacker-controlled TLV value to become an arbitrary memory address.

Impact

An attacker could write arbitrary data to arbitrary memory, which the text says quickly results in code execution; the service is only reachable through the cloud SSH forward to localhost.

What the attacker needed

Access to tmpServer via cloud SSH forward; authenticated HomeShield app session

How it was found

  1. Send an association request packet to move the connection status forward.
  2. Send a second association packet to reach the data-processing state.
  3. Send a data hello packet to open the data path.
  4. Send a data packet whose TLV type 0x449 sets the destination value.
  5. Send a TLV type 0x442 entry to write attacker data to that chosen address.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This router runs a small background service that the phone app talks to. The service reads a list of labelled chunks of data, and one chunk is used as an address for where to store another chunk. Because the sender chooses that address, they can make the router write data almost anywhere in its memory, which can let them take over the device.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Lilith >_>

View all

148 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.