Skip to content
Write-up Advanced

Security Context Dies at Boundaries

Five separate findings are described where a security check existed but the context that gave it meaning was lost as data crossed a boundary. Attackers could bypass same-origin protection, hijack another user's terminal stream, escalate privileges through group hierarchies, reach internal networks via webhooks, or defeat a TWAP deviation guard.

medium.com

Published on medium.com

After spending enough time reviewing security-sensitive systems, individual vulnerabilities start looking less individual. The technologies change.

Berkan SAL, 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 each component reduced rich security context (origin headers, owner identity, privilege graph, network ranges, independent price measurements) to a weaker representation, so downstream checks could no longer distinguish safe from unsafe states.

Impact

In each case a security control could be bypassed: cross-origin access to a development server, cross-user stream hijacking, privilege escalation, SSRF to internal networks, and a deviation guard that no longer detects manipulation.

What the attacker needed

Varies per finding; often no special access needed

The fix

The fixes restored the missing context: binding streams to their creator, checking effective graph privilege, using real CIDR semantics, and requiring loopback binding when origin signals are absent.

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 program often checks something in one place and then passes a simplified version of that information to another place. If the simplification throws away the part that made the check meaningful, the later code can no longer tell a safe situation from a dangerous one. These five bugs are all examples of that loss of meaning, in very different software.

Similar reports

Same bug class and techniques, clearest first.