Why you shouldn't do client-sided checks only; unlimited data via EE gifting system
The EE data gifting system only checked on the client side that the donor and recipient phone numbers were different. By intercepting the request and setting both to the same number, a user could gift data to themselves, resulting in unlimited free data.
daleys.space
Published on daleys.space
A bug in EE’s family data gifting system allowed users to obtain unlimited data free of charge.
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
The server did not validate that the donor and recipient phone numbers were different; it relied on the client-side restriction.
Impact
Malicious users could gain unlimited data free of charge and defraud EE.
What the attacker needed
Pay monthly EE customer; family account with data gifting
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.
When you use a website, some checks happen in your browser (client-side) and some on the server. Here, the rule 'you cannot gift data to yourself' was only enforced in the browser, so a user could change the request to bypass it. This let them give themselves data repeatedly without paying.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.