Skip to content
SQL injection Write-up Intermediate

The Cost of a Bug When the Data Is Permanent

During authorised testing of a consumer genetics platform, the researcher found injection flaws, server-side request forgery and unauthenticated API endpoints across several subdomains. Chained together, these could have exposed sensitive user data and internal services, though all examples are sanitised and no live exploitation is shown.

medium.com

Published on medium.com

When people submit their personal DNA to a company, they are not only sharing data but also sharing personal identity, health markers, and lineage.

Tyreek Haynes, 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.

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 a mix of unparameterised database queries, missing validation of user-supplied URLs fetched server-side, and API routes that never enforced authentication or authorisation.

Impact

The combined issues could expose personal and genetic-adjacent user data, enable internal service discovery and possibly reach cloud credentials, with regulatory and reputational consequences; the text gives no proof of actual exploitation.

What the attacker needed

No authentication needed for several issues; authorised bug bounty testing

The fix

The text does not state that fixes were applied; it argues that APIs should enforce authentication and authorisation by default, that SSRF protections are mandatory, and that injection flaws must be eliminated.

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 bug bounty is a programme where a company invites outside testers to look for security mistakes and report them. Here the tester found three kinds of weakness: places where typed input can change database queries, places where the server can be tricked into fetching internal addresses, and API pages that answered without checking who was asking. Each alone is serious; together they could let someone reach data they should never see.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.