FFUF and my first bounty
The Go pprof debugging endpoint was publicly accessible on many subdomains, exposing server information, file paths, and source code. An attacker could access these endpoints to gather sensitive data about the server.
Published on medium.com
{{media:0}}
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.
Context
This is a short account of a first paid bug bounty finding, published on 29 July 2020. The researcher does not name the program, the target host or the product in the text. What the report does say is that the finding was classified as Sensitive Data Exposure and that it sat at the following endpoint:
/debug/pprof/
That path belongs to Go's net/http/pprof package, which exposes runtime profiling endpoints on a Go HTTP server. When it is reachable from the internet, it leaks server information, file paths, source code and other files that are not meant to be accessible. The researcher links to two external references for background: an article titled "Your pprof is showing" on mmcloughlin.com, and a VulDB entry for CVE-2019-11248, described as a Kubernetes kubelet pprof privilege escalation.

Setup
The report describes no accounts, roles or special access. The only tooling mentioned is FFUF, described as a fast web fuzzer written in Go, with a link to its GitHub repository (ffuf/ffuf), which contains the source code and the commands needed to run it. The stated precondition is a compiled list of in-scope subdomains saved as a .txt file.
Finding it
The researcher's framing is that bug bounty hunting is hard at the start, and shows a history of low-value submissions, including clickjacking on static pages reported without significant impact. The first genuinely valid report in that history was SQL Injection, which the researcher calls rare nowadays in public programs. After that came more bugs and more points, but no bounty yet.
The advice given is that XSS should be among the top things to test, alongside IDORs, HTTP request smuggling and SQLi. The actual bounty came from none of those. The researcher notes that, at least to their knowledge and after hours of searching, there is not a single report on HackerOne for the vulnerability they found, and reasons that it is probably overlooked, considering it is rated P4 or P3.
Exploitation
Step 1: build the target list
Compile the in-scope subdomains and save them as a .txt file. The report gives no specific command for this step.
Step 2: fuzz for the profiling path
Run FFUF against that list, scanning for subdomains that serve /debug/pprof/ and looking for HTTP 200 responses. The report points to the FFUF repository for the source code and the exact commands rather than reproducing them, so the precise invocation is not given here.
Step 3: review the hits
After scanning, the researcher found hundreds of open /debug/pprof/ directories under the same program. The report does not show a sample response body or list any of the affected hosts.
Step 4: the outcome
Discouraged by earlier failures, the researcher received an email saying the issue had been changed to Unresolved, and then an email confirming a $300 payout.



Root cause
The report does not analyse the code or configuration behind the exposure. What it does say is that the net/http/pprof endpoints were reachable, leaking server information, paths, source code and other files that should not be accessible. Why the profiling handlers were left registered on internet-facing servers, and whether any network control should have blocked them, is not stated.
Impact
The classification given is Sensitive Data Exposure, rated P4 or P3. The leaked material, per the report, includes server information, paths, source code and other files. The researcher does not enumerate which of these were actually retrieved from the hundreds of hosts found, nor what an attacker could do with them beyond the exposure itself. The linked CVE-2019-11248 reference concerns privilege escalation in a Kubernetes kubelet context; the report does not claim that scenario applied to this target.
Fix
It only records that the issue was marked Unresolved and that a bounty was paid.
Variants to test
- Fuzz in-scope hosts for
/debug/pprof/and look for 200 responses, as in the report. A positive result is a reachable profiling index rather than a 404 or a redirect to authentication. - Try the individual pprof subpaths under the same prefix. The report does not list them, so treat this as an extension of the same idea rather than something it documents.
- Apply the same list-and-fuzz approach to other well-known diagnostic paths on Go services. The report only covers
/debug/pprof/. - Repeat across every subdomain in scope rather than a single host, since the finding here was hundreds of instances under one program.
Closing notes
The researcher's summary is that bug bounty hunting is hard, especially with its growing public exposure, and recommends participating in every program, with or without a bounty, because points can earn invitations to private programs. On the $300 figure, the report calls it quite low compared with an average payout of around $500 to $2,000, P1 vulnerabilities reaching up to $75,000, and $100,000 to a million for other exclusive programs. At the time of writing the researcher was spending more time on CTFs, with plans to return to hunting in a couple of days.
What happened, in plain words
A security researcher, Suryansh Mansharamani, published a short account on 29 July 2020 of the first bug bounty he was ever paid for. A bug bounty is a scheme where companies invite people outside the company to look for security mistakes in their systems and pay for the ones that are real. The researcher does not name the company, the website or the product involved. What he does say is that the mistake was classified as Sensitive Data Exposure, meaning some information that should have stayed private could be read by outsiders, and that it was found at this address on the server:
/debug/pprof/
That path is a well-known feature of web servers written in the Go programming language. Go ships with a package called net/http/pprof that adds a set of diagnostic pages to a server. Think of it like the service hatch on a building: engineers use it to look at the pipes and wiring while the building is running, and it is very useful when it is only reachable from inside. If the hatch is left open onto the public street, anyone walking past can look in. When these pages are reachable from the internet, they leak server information, file paths, source code and other files that are not meant to be accessible.
The researcher points readers to two background links: an article called "Your pprof is showing" on mmcloughlin.com, and a VulDB entry for CVE-2019-11248, described as a Kubernetes kubelet pprof privilege escalation. A CVE is a public catalogue number given to a known security flaw so people can refer to it unambiguously. You do not need either link to follow the story.

The image above is a stock photograph credited to Markus Spiske on Unsplash, used as decoration for the article.
Setup
The report describes no accounts, no special roles and no privileged access. The only tool mentioned is FFUF, described as a fast web fuzzer written in Go, with a link to its GitHub repository (ffuf/ffuf), which holds the source code and the commands needed to run it. A fuzzer is a program that sends a very large number of automatically generated requests and reports which ones got an interesting answer. The word comes from "fuzzing": instead of guessing one address at a time by hand, you let the machine try thousands.
The one stated precondition is a compiled list of in-scope subdomains saved as a .txt file. A subdomain is a named section of a company's domain, for example shop.example.com and blog.example.com are subdomains of example.com. "In scope" means the company has explicitly said those names are fair game for testing; testing anything outside that list can be illegal or against the rules. A .txt file is just a plain text file, one entry per line, which is the format most command line tools expect.
Finding it
The researcher's framing is that bug bounty hunting is hard at the start, and he shows a history of low-value submissions, including clickjacking on static pages reported without significant impact. Clickjacking is a trick where a page is hidden under an invisible layer so that a visitor thinks they are clicking one thing but is actually clicking another. A static page is one that just displays content and does not process anything sensitive, so a clickjacking report on such a page rarely earns anything. The first genuinely valid report in that history was SQL Injection, which the researcher calls rare nowadays in public programs. SQL injection is a mistake where text typed into a website is passed to the database in a way that lets the visitor change the database command itself, like slipping an extra instruction into a note that a clerk then reads out to a machine. After that came more bugs and more points, but no bounty yet. Points are the reputation score some bug bounty platforms award for valid reports even when no money is paid.
The advice given is that XSS should be among the top things to test, alongside IDORs, HTTP request smuggling and SQLi. XSS, cross-site scripting, is when a site lets an attacker's own code run inside another visitor's browser. An IDOR, insecure direct object reference, is when changing a number or identifier in a request lets you see someone else's data, like changing the number on a cloakroom ticket and being handed a stranger's coat. HTTP request smuggling is a way of confusing a chain of servers about where one request ends and the next begins. The actual bounty came from none of those. The researcher notes that, at least to his knowledge and after hours of searching, there is not a single report on HackerOne, a well-known bug bounty platform, for the vulnerability he found, and reasons that it is probably overlooked, considering it is rated P4 or P3. Those are severity ratings: P1 is the most serious, P5 the least, so P3 and P4 sit in the low-to-moderate range.
Exploitation
Step 1: build the target list
Compile the in-scope subdomains and save them as a .txt file. The report gives no specific command for this step. The reason for doing it first is that the fuzzer needs a list of addresses to work through; without a list, there is nothing to scan.
Step 2: fuzz for the profiling path
Run FFUF against that list, scanning for subdomains that serve /debug/pprof/ and looking for HTTP 200 responses. HTTP 200 is the standard status code a web server sends back to mean "here is the page, all fine". Other codes mean other things: 404 means not found, and a redirect to a login page means the page exists but is protected. The researcher points to the FFUF repository for the source code and the exact commands rather than reproducing them, so the precise invocation is not given here. The reason for looking for 200 specifically is that it is the signal that the diagnostic page is actually being served to anyone who asks, rather than being absent or locked behind a login.
Step 3: review the hits
After scanning, the researcher found hundreds of open /debug/pprof/ directories under the same program. The report does not show a sample response body or list any of the affected hosts. The reason this step matters is that a hit from a fuzzer is only a lead; a human still has to look at what came back and judge whether it is really the thing being hunted for.
Step 4: the outcome
Discouraged by earlier failures, the researcher received an email saying the issue had been changed to Unresolved, and then an email confirming a $300 payout. Triage is the stage where the company's own security team reviews a report, decides whether it is valid and how serious it is, and sets its status.



Root cause
The report does not analyse the code or configuration behind the exposure. What it does say is that the net/http/pprof endpoints were reachable, leaking server information, paths, source code and other files that should not be accessible. Why the profiling handlers were left registered on internet-facing servers, and whether any network control should have blocked them, is not stated. In plain terms, the cause is a diagnostic feature that is useful during development being left switched on in a place the public can reach.
Impact
The classification given is Sensitive Data Exposure, rated P4 or P3. The leaked material, per the report, includes server information, paths, source code and other files. The researcher does not enumerate which of these were actually retrieved from the hundreds of hosts found, nor what an attacker could do with them beyond the exposure itself. The linked CVE-2019-11248 reference concerns privilege escalation in a Kubernetes kubelet context; the report does not claim that scenario applied to this target. Privilege escalation means using a small opening to gain more power than you were meant to have, like finding a staff door unlocked and ending up in the manager's office.
Fix
It only records that the issue was marked Unresolved and that a bounty was paid. Remediation means the change made to close the hole, for example removing the diagnostic pages from the public server or blocking them at the network edge.
Variants to test
- Fuzz in-scope hosts for
/debug/pprof/and look for 200 responses, as in the report. A positive result is a reachable profiling index rather than a 404 or a redirect to authentication. - Try the individual pprof subpaths under the same prefix. The report does not list them, so treat this as an extension of the same idea rather than something it documents.
- Apply the same list-and-fuzz approach to other well-known diagnostic paths on Go services. The report only covers
/debug/pprof/. - Repeat across every subdomain in scope rather than a single host, since the finding here was hundreds of instances under one program.
Closing notes
The researcher's summary is that bug bounty hunting is hard, especially with its growing public exposure, and he recommends participating in every program, with or without a bounty, because points can earn invitations to private programs. Private programs are bounty schemes that are not open to the public and can only be joined by invitation, so reputation points are a way in. On the $300 figure, the report calls it quite low compared with an average payout of around $500 to $2,000, P1 vulnerabilities reaching up to $75,000, and $100,000 to a million for other exclusive programs. At the time of writing the researcher was spending more time on CTFs, with plans to return to hunting in a couple of days. A CTF, capture the flag, is a practice competition where participants solve security puzzles to earn flags.
Glossary
- Bug bounty: a scheme where a company pays outside people for finding and reporting security mistakes in its systems.
- Sensitive Data Exposure: a class of security mistake where information that should be private can be read by outsiders.
- Endpoint: a specific address on a server that responds to requests, such as a particular path.
- Path: the part of a web address after the domain name, for example
/debug/pprof/. - Go: a programming language, also called Golang, often used for web servers and command line tools.
net/http/pprof: a package that ships with Go and adds diagnostic pages to a server for inspecting a running program.- Profiling: measuring what a running program is doing, such as where it spends time and memory, to help debug it.
- CVE: a public catalogue number for a known security flaw.
- Privilege escalation: using a small opening to gain more access or power than you were meant to have.
- Kubernetes kubelet: a component of the Kubernetes system for running containers; mentioned only through the linked CVE reference.
- Fuzzer: a program that sends many automatically generated requests and reports which ones got an interesting answer.
- FFUF: a fast web fuzzer written in Go, used in this report to scan a list of subdomains.
- Subdomain: a named section of a domain, such as
shop.example.comunderexample.com. - In scope: explicitly allowed by the company for testing.
.txtfile: a plain text file, here one entry per line, used as the input list for the fuzzer.- HTTP 200: the status code a web server returns to mean the page was found and served normally.
- 404: the status code meaning the page was not found.
- Redirect: a response that sends the browser to a different address, often a login page.
- Clickjacking: hiding a page under an invisible layer so a visitor clicks something other than what they think.
- Static page: a page that only displays content and does not process anything sensitive.
- SQL Injection: a mistake where typed input changes the database command itself.
- XSS (cross-site scripting): a mistake that lets an attacker's code run inside another visitor's browser.
- IDOR: a mistake where changing an identifier in a request lets you see someone else's data.
- HTTP request smuggling: a way of confusing a chain of servers about where one request ends and the next begins.
- HackerOne: a well-known bug bounty platform.
- P1 to P5: severity ratings, P1 being the most serious and P5 the least.
- Triage: the stage where the company reviews a report, decides whether it is valid and sets its status.
- Unresolved: a status label the report records for the issue, without explaining why.
- Remediation: the change made to close a security hole.
- Private program: a bounty scheme open only by invitation.
- Points: reputation score awarded for valid reports, sometimes used to earn invitations.
- CTF (capture the flag): a practice competition where participants solve security puzzles to earn flags.