Skip to content

Referral Beware, Your Rewards Are Mine

Whit Taylor

Uncovers client-side gadgets, race conditions, and business logic flaws hidden within referral and reward systems across major bug bounty programs.

Summary

The Overlooked Attack Surface of Referral Systems

Referral and reward programs are ubiquitous in consumer web applications but are frequently viewed by bug bounty hunters as routine functionality with minimal security impact.

Business Logic and Race Condition Vulnerabilities

Whit Taylor demonstrates how concurrent API requests and flawed database state transactions allow attackers to exploit race conditions, claiming unlimited referral credits and bypassing payout limits.

Client-Side Gadgets and Exploit Chaining

Improperly sanitized referral parameters introduce client-side path traversal and cookie-injection gadgets that can be chained with other client-side flaws to execute account takeovers.

Securing Reward and Referral Architectures

Defending promotional and referral workflows requires enforcing strict database row locking, validating referral token state idempotently, and sanitizing all client-side redirect parameters.

Related talks