I thought I had a P1, but… the second paid valid bug in 2026
An SSRF endpoint that was meant to fetch only a specific third-party URL could be tricked by trimming a query parameter, causing the backend to return a page containing a leaked token. Using that token, the researcher found and exploited a SQL injection in the third-party service, allowing data modification.
medium.com
Published on medium.com
It’s me, c0nyy. This is my journey with the second paid valid bug in 2026, fasten your seatbelt and… just relax.
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
Root cause
Likely the SSRF protection only checked the start of the URL and did not properly validate the full path, allowing a truncated URL to bypass the allowlist and reach a page that exposed a token.
Impact
The leaked token allowed access to a third-party backend where a SQL injection could be used to modify data, though the client rated the overall impact as P3 because critical systems did not rely on that data.
What the attacker needed
Access to the SSRF endpoint; referer from target.com; knowledge of allowed third-party URL
The fix
The endpoint was patched after the report, and the issue was no longer exploitable.
How it was found
- Send a request to the SSRF endpoint with the url parameter pointing to the allowed third-party URL.
- Remove part of the query string from the url parameter value.
- Observe that the response contains a backend page with a token in the HTML.
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.
The website had a feature that fetched another website for you, but it was supposed to only fetch one exact address. By slightly changing the address, the researcher made it fetch a different page that accidentally included a secret password-like token. With that token, they could access a backend service and found a way to run database commands, letting them change data.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.