Plan Change Logic in Google Fiber (Webpass)
A logic flaw in the Google Fiber (Webpass) billing API allowed a customer to repeatedly replay the same plan-change request, each time crediting the annual amount and billing the monthly amount. An attacker could inflate their account credit balance arbitrarily.
Published on s1gnalcha0s.github.io
TLDR; Found a simple logic bug when paying my annual Google Fiber bill (Webpass).
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 plan-change API endpoint lacked idempotency or a check to prevent the same operation from being processed multiple times.
Impact
An attacker could repeatedly replay the request to accumulate unlimited account credit, potentially leading to financial loss for the provider.
What the attacker needed
A Google Fiber (Webpass) account; ability to intercept and replay API requests
How it was found
- Add a payment to the annual subscription.
- Switch from annual to monthly billing.
- Replay the same API operation multiple times.
- Observe repeated credits and bills.
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 change your internet plan, the billing system should only apply the change once. Here, the same request could be sent again and again, and each time the system added credit to the account without checking if it had already been done. This let the user build up a large credit balance.
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.