Skip to content
DoS Write-up Beginner

For the first Bounty, it takes a few challenging months, but only a few days for the second.

An outdated Apache server version was exposed on an API subdomain, and the author found that a known denial-of-service vulnerability could be triggered during email verification. The attacker could cause a denial of service on that server.

Aneesha D Follow

Published on medium.com

Bounty$250total stated by author View original

Good day, everyone! I spent nearly three hours looking for this bug, but it took me three months to uncover the bug that brought me my first bounty.

Aneesha D, on medium.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. 4 min read.

Context

This is a short account of a first paid bug bounty finding, and of the contrast between the time it took to get there and the time the second one took. The author had spent nearly three hours looking for this particular bug, but it took three months to uncover the bug that brought the first bounty. The post continues an earlier article, "On the way to 2nd Bounty", which covered XSS and a vulnerable Apache server.

The target was a site the author refers to as example.net, the same target as in the prior post. The relevant asset here is not the main site but a subdomain handed out during sign-up: api.example.net. That host was running Apache version 2.4.29 and served nothing more than the Apache default page.

Setup

The only precondition described is registration: while signing up on example.net, the author received the api.example.net subdomain. No account roles, credentials or special configuration are mentioned. The tooling named in the post is HTB (Hack The Box) and directory and file fuzzing against the API host. The version under test was Apache 2.4.29.

Finding it

The api.example.net page was simply an Apache default page. The author attempted to fuzz for directories and files on it but was unsuccessful, so there was no application content to attack on that host.

While using HTB, the author thought of searching for vulnerabilities in the Apache version itself. That search turned up a few issues in 2.4.29: HTTP request smuggling, a possible buffer overflow with very large or unbounded LimitXMLRequestBody, and CVE-2017-15710. Because there had been an article about these issues, the author tried the tests described in those CVEs.

Exploitation

Step 1: Test the published CVE behaviour against the host

Following the tests described in the article about those CVEs, the author ran them against api.example.net. The post does not reproduce the individual requests or payloads used.

Step 2: Confirm a denial of service

The result was that the author was able to perform a DoS on that server when verifying the user's email for account availability. The author was able to perform a DoS on that server when verifying the user's email for account availability.

Step 3: Attempt the remaining listed vulnerabilities

The author assumed that additional vulnerabilities might work as well, so waited a few days to try to exploit the other vulnerabilities listed for the version. This was not possible because there were no publicly disclosed exploits for them.

Step 4: Report

The next day, the author filed a report stating that a vulnerable Apache server had been discovered on the domain, mentioning the DoS and noting "No Exploits available for public use at this time." The report was accepted the next day, and the team requested 14 days for the final procedure. They then messaged with the fix and sent a $250 reward after 23 days.

Root cause

The root cause is an outdated Apache build, 2.4.29, exposed on the api subdomain. The version carried publicly documented issues, including HTTP request smuggling, a possible buffer overflow with very large or unbounded LimitXMLRequestBody, and CVE-2017-15710. The host served only the Apache default page, and the DoS occurred when verifying the user's email for account availability.

Impact

Under the conditions described, an attacker could cause a denial of service on the API server when verifying the user's email for account availability. The other listed vulnerabilities were not exploited because no public exploits existed for them at the time, so their practical impact on this target is not established in the post. The bounty awarded was $250.

Fix

The provider requested 14 days for the final procedure and then messaged with the fix. The post does not describe what the fix changed.

Variants to test

  1. Version fingerprinting on forgotten subdomains: enumerate hosts handed out during sign-up and check server banners and default pages. A positive result is an Apache default page on a host the main application depends on, with a version that maps to known CVEs.
  2. Dependency mapping: identify which user-facing flows call the legacy host, such as email availability checks. A positive result is a flow that fails or times out when the legacy host is stressed.
  3. CVE test replication: run the tests published for the version's CVEs against the host. A positive result is a reproducible crash or denial of service, as happened here with the email verification flow.
  4. Exploit availability check: for each candidate CVE, check whether a public exploit exists. A positive result is a working public exploit; where none exists, as with the remaining issues in this report, the finding stays at the level of a vulnerable component plus demonstrated DoS.

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. 10 min read.

What happened, in plain words

A security researcher found a bug in a company's website and was paid for it. This is called a bug bounty: a company invites people to look for weaknesses in its systems and pays a reward for the ones they report. The researcher had spent nearly three hours looking for this particular bug, but it took three months to uncover the bug that brought the first bounty. This post is the continuation of an earlier article, "On the way to 2nd Bounty", which covered XSS and a vulnerable Apache server.

The target was a site the author calls example.net, the same target as in the prior post. The interesting part was not the main website but a smaller side address, called a subdomain, that the site handed out during sign-up: api.example.net. That host was running a piece of web server software called Apache, version 2.4.29, and it showed nothing more than the Apache default page, the placeholder page a freshly installed web server displays before anyone puts a real site on it.

Because that page had no real content, there was nothing to click around in. So the researcher looked at the software version instead, found that this version has known weaknesses, and tested one of them. The test resulted in a denial of service on that server. The DoS occurred when verifying the user's email for account availability. The researcher reported it, the team messaged with the fix, and a $250 reward was sent.

Background you need first

A few ideas come up again and again below, so here they are from zero.

Website, server and subdomain. When you open a site in your browser, your browser asks a computer somewhere else for a page. That computer is the server. A domain like example.net is the name of the whole site. A subdomain is a name placed in front of it, like api.example.net, and it can point to a completely different machine. Companies often use subdomains to split a big site into pieces: www for the main pages, api for the part that other programs talk to, mail for email, and so on.

API. API stands for application programming interface. It is the part of a service built for programs rather than for people clicking with a mouse. Think of a restaurant: the dining room is the website you see, and the kitchen door where waiters pick up orders is the API. Other software sends a request to the API and gets an answer back, often in a compact data format rather than a pretty web page. A host named api.example.net is typically where that kitchen door lives.

Apache and versions. Apache is one of the most widely used web server programs in the world. Like any software it is released in numbered versions, and each new version fixes problems found in the older ones. Version 2.4.29 is one specific release. When a server openly reports which version it runs, anyone can look up whether that version has known problems.

CVE. A CVE is a public catalogue number for a known security flaw, in the form CVE-YYYY-NNNNN. When someone finds a flaw, it gets an identifier so that everyone, vendors and defenders alike, can talk about the same thing. The number itself tells you nothing about severity; it is just a label.

Vulnerability and exploit. A vulnerability is a weakness in software that can be abused to make it behave in a way its makers did not intend. An exploit is the concrete technique or piece of code that abuses it. A vulnerability can be known publicly while no ready-made exploit exists, which matters later in this story.

Denial of service (DoS). A denial of service is an attack that makes a service stop responding to normal users. It does not steal data; it makes the service unavailable. A simple comparison: standing in a shop doorway so nobody else can get in. The shop is not robbed, but it cannot serve customers.

HTTP request smuggling and buffer overflow. These are two of the weaknesses listed for this Apache version. Request smuggling is a trick where a request is crafted so that two pieces of software in the chain disagree about where one request ends and the next begins, letting an attacker slip an extra request past the front door. A buffer overflow happens when a program is given more data than the space reserved for it, so the extra data spills into neighbouring memory. The report mentions a possible buffer overflow with very large or unbounded LimitXMLRequestBody, which is an Apache setting that caps the size of a particular kind of request body.

Fuzzing. Fuzzing means throwing many automatically generated inputs at a system to see what happens. For a website, a common form is trying a long list of common folder and file names to discover what exists on the server. It is like trying every key on a big keyring on a door, quickly, to see which one turns.

HTB. HTB, short for Hack The Box, is a training platform where people practise security skills on deliberately vulnerable machines. The researcher was using it when the idea for this test came up.

How the target was found

The only precondition described is registration. While signing up on example.net, the author received the api.example.net subdomain. No account roles, credentials or special configuration are mentioned. The tooling named in the post is HTB and directory and file fuzzing against the API host. The version under test was Apache 2.4.29.

So the first lesson is simple: signing up for an account can reveal parts of a company's infrastructure that are not linked from the main page. The sign-up flow mentioned the API host, and that host was running an old Apache.

Finding it

The api.example.net page was simply an Apache default page. The author attempted to fuzz for directories and files on it but was unsuccessful, so there was no application content to attack on that host.

In plain terms: the researcher tried the keyring approach, guessing folder and file names to see if anything was hidden behind the placeholder page. Nothing turned up. There was no login form, no upload button, no search box, nothing to poke at on that host itself.

While using HTB, the author thought of searching for vulnerabilities in the Apache version itself. That search turned up a few issues in 2.4.29: HTTP request smuggling, a possible buffer overflow with very large or unbounded LimitXMLRequestBody, and CVE-2017-15710. Because there had been an article about these issues, the author tried the tests described in those CVEs.

This is the pivot that made the finding possible. When there is no application to test, the software underneath becomes the target. The version number is the clue: look it up, find the list of known issues, and then follow published instructions for testing them. The report does not reproduce the individual requests or payloads used for those tests.

Exploitation

Step 1: Test the published CVE behaviour against the host

Following the tests described in the article about those CVEs, the author ran them against api.example.net. The post does not reproduce the individual requests or payloads used.

Why this step: the version was known to have documented weaknesses, and a published article described how to check for them. Repeating a published test is the cheapest way to confirm whether a server is actually affected, rather than merely running an old version.

Step 2: Confirm a denial of service

The result was that the author was able to perform a DoS on that server when verifying the user's email for account availability. The author was able to perform a DoS on that server when verifying the user's email for account availability.

This is the heart of the report, so it is worth slowing down.

Step 3: Attempt the remaining listed vulnerabilities

The author assumed that additional vulnerabilities might work as well, so waited a few days to try to exploit the other vulnerabilities listed for the version. This was not possible because there were no publicly disclosed exploits for them.

Why wait and why give up: writing an exploit from scratch for a known vulnerability is a large project of its own. When no public exploit exists, most researchers stop at "this component is vulnerable and here is a demonstrated effect", which is exactly what happened here. The report is honest about this limit rather than overstating what was achieved.

Step 4: Report

The next day, the author filed a report stating that a vulnerable Apache server had been discovered on the domain, mentioning the DoS and noting "No Exploits available for public use at this time." The report was accepted the next day, and the team requested 14 days for the final procedure. They then messaged with the fix and sent a $250 reward after 23 days.

The timeline is worth noting for anyone starting out: the report was accepted quickly, the fix took a couple of weeks, and payment arrived after 23 days. The researcher had spent nearly three hours on this particular bug, but three months of learning came before it.

Why it worked

The root cause is an outdated Apache build, 2.4.29, exposed on the api subdomain. The version carried publicly documented issues, including HTTP request smuggling, a possible buffer overflow with very large or unbounded LimitXMLRequestBody, and CVE-2017-15710. The host served only the Apache default page, and the DoS occurred when verifying the user's email for account availability.

What the impact was

Under the conditions described, an attacker could cause a denial of service on the API server when verifying the user's email for account availability. The other listed vulnerabilities were not exploited because no public exploits existed for them at the time, so their practical impact on this target is not established in the post. The bounty awarded was $250.

How it was fixed

The provider requested 14 days for the final procedure and then messaged with the fix. The post does not describe what the fix changed.

Things to try on your own targets

These are the same ideas, restated as a checklist for a beginner. Each one says what a positive result looks like.

  1. Look at forgotten subdomains and their versions. Enumerate hosts handed out during sign-up and check server banners and default pages. A positive result is an Apache default page on a host the main application depends on, with a version that maps to known CVEs.
  2. Map the dependencies. Identify which user-facing flows call the legacy host, such as email availability checks. A positive result is a flow that fails or times out when the legacy host is stressed.
  3. Repeat the published CVE tests. Run the tests published for the version's CVEs against the host. A positive result is a reproducible crash or denial of service, as happened here with the email verification flow.
  4. Check whether an exploit exists. For each candidate CVE, check whether a public exploit exists. A positive result is a working public exploit; where none exists, as with the remaining issues in this report, the finding stays at the level of a vulnerable component plus demonstrated DoS.

Glossary

  • API: the part of a service built for other programs to talk to, rather than for people clicking in a browser.
  • Apache: a widely used web server program that delivers pages and handles requests.
  • Buffer overflow: a flaw where a program is given more data than the space reserved for it, so the extra data spills into neighbouring memory.
  • Bug bounty: a programme where a company pays people for reporting security weaknesses in its systems.
  • CVE: a public catalogue number for a known security flaw, in the form CVE-YYYY-NNNNN.
  • Denial of service (DoS): an attack that makes a service stop responding to normal users without necessarily stealing data.
  • Exploit: the concrete technique or code that abuses a vulnerability.
  • Fuzzing: automatically throwing many generated inputs, such as common folder and file names, at a system to see what happens.
  • HTB (Hack The Box): a training platform where people practise security skills on deliberately vulnerable machines.
  • HTTP request smuggling: a trick where a crafted request makes two pieces of software disagree about where one request ends and the next begins.
  • LimitXMLRequestBody: an Apache setting that caps the size of a particular kind of request body.
  • Subdomain: a name placed in front of a domain, such as api.example.net, that can point to a different machine.
  • Vulnerability: a weakness in software that can be abused to make it behave in a way its makers did not intend.
  • XSS: cross-site scripting, a class of flaw where an attacker gets their own script to run in another user's browser; mentioned only as the subject of the earlier article.

More by Aneesha D

View all

1 more disclosed report, best first.

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.