Skip to content
Memory corruption Advisory Intermediate CVE-2026-28763

Totolink X2000R boa formMapDelDevice hostname stack-based buffer overflow vulnerability

A stack-based buffer overflow exists in the boa web server's formMapDelDevice handler on the Totolink X2000R router. An authenticated attacker can send a crafted HTTP request with an overly long hostname parameter to overwrite the return address and potentially execute arbitrary code.

Lilith Wyatt Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A stack-based buffer overflow vulnerability exists in the boa formMapDelDevice hostname functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution.

Lilith Wyatt, 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

The formMapDelDevice function uses strcpy to copy the hostname POST parameter into a 0x40-byte stack buffer without any length check.

Impact

An authenticated attacker could achieve arbitrary code execution on the router, potentially leading to full compromise.

What the attacker needed

Authenticated access to the web interface

How it was found

  1. Authenticate to the router's web interface via the /boafrm/formLogin page.
  2. Send an HTTP POST request to /boafrm/formMapDelDevice with a non-zero hostnameAdd parameter.
  3. Include a hostname parameter whose value is longer than the 0x40-byte stack buffer.
  4. The strcpy overflows the stack buffer, overwriting the return address and causing a crash or code execution.

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.

The router's web interface has a function that copies a user-supplied name into a fixed-size memory area without checking its length. By sending a very long name, an attacker can overflow that area and overwrite the memory address the program will return to, potentially letting them run their own code. The attacker must already be logged in to the router's web interface.

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 Wyatt

View all

28 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.