Skip to content
DoS Write-up Intermediate

“Not Applicable” to Victory: How I Escalated a P2 DoS Vulnerability on Bugcrowd

A custom Lua function in a managed database lacked bounds checking, so a low-privileged user could request a billion-character string. This caused a large memory allocation, a network spike of about 1 GB, and a crash of the database process.

infosecwriteups.com

Published on infosecwriteups.com

Bug bounty hunting is full of emotional rollercoasters. One day you find a critical vulnerability, and the next day you receive the dreaded “Not Applicable” (N/A) status.

Hacker MD, on infosecwriteups.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.

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

How it worked

Impact

A single authenticated request could cause a latency spike, about 1 GB of network output, and a full crash of the managed database instance, though the provider initially treated it as out of scope because the flaw was in upstream open-source code.

What the attacker needed

A low-privileged database account; access to the EVAL command

How it was found

  1. Connect to the managed database instance as a low-privileged user.
  2. Execute the custom Lua function with an extremely large integer argument.
  3. Observe the server latency spike and the network output increase.
  4. Observe the database process crash and automatic restart.

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 write-up has not been written yet. The Original tab links to the source.

A managed database service runs on someone else's servers. The service had a built-in helper that made random text, but it did not limit how much text you could ask for. By asking for a huge amount, one normal user could use up the server's memory and make it crash.

What is DoS?

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

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.