A Revolutionary Bug: How Accidentally Invented the “Informative” E-Commerce Experience
A price validation flaw allowed a user to submit a much lower price for an expensive item, causing the system to place a temporary hold for the lower amount and mark the item as temporarily sold. This created inconsistent states across payment, inventory, and order systems, potentially leading to financial and inventory discrepancies.
medium.com
Published on medium.com
Friends, colleagues, connoisseurs of digital chaos. Tonight, I witnessed something beautiful.
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 application trusted a client-supplied price and did not validate it against the product's actual price before creating an order and placing a payment hold.
Impact
The flaw could allow a user to obtain a high-value item for a much lower price, cause financial discrepancies, and disrupt inventory, though the text notes the hold may expire and the order may be reviewed.
What the attacker needed
A product page with a price; ability to trigger a cached price display; clicking buy during the glitch
How it was found
- Browse to a product page and observe the price.
- Trigger a cached page fragment that briefly shows a much lower price.
- Click the buy button while the lower price is displayed.
- The system accepts the lower price without validation and places a temporary hold for that amount.
- The item is marked as temporarily sold, creating inconsistent states.
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.
An online shop normally checks that the price you pay matches the price shown. Here, the shop did not check, so someone could pay a tiny amount for a very expensive item. This confused the shop's payment and stock systems, leaving the item in a strange state.
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.