The $1 Full Video: How RedHunter Found and Self-Validated a Price-Integrity Bypass
The purchase endpoint charged a flat $1.00 for an entitlement that the catalog priced at $14.25, and fulfillment granted the full product including all resolutions up to 4K. An attacker could buy the full video for $1 instead of $14.25.
Published on medium.com
Bug Bounty
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.
Context
This is an anonymised case study of an autonomous hunting harness called RedHunter, built by the researcher redhunter01. The target is described only as a large pay-per-item media store: a platform that sells individual videos, where a catalogue item is priced per item and, once bought, unlocks the full product for the buying account.
The feature under test is the ordinary purchase flow. A locked item advertises a price, the buyer creates an order, a separate billing processor takes the payment, and fulfilment grants the entitlement. The report anonymises the target and redacts its details; the value it claims is the method, not the target.
The flaw found is a price-integrity, or business-logic, bypass. The purchase endpoint charged a flat $1.00 for an entitlement that the platform's own catalogue priced at $14.25, and fulfilment then granted the full product, every resolution up to 4K, rather than a cheap tier. In the author's framing, the server trusted a price it should have recomputed.
Setup
The work was done by an autonomous harness rather than a human with a proxy. The report gives no versions, no tooling list beyond RedHunter itself, and no account details other than that the baseline was recorded from an unprivileged, non-paying account and that the same account was used again after the charge to confirm the entitlement flipped.
The harness is described as hard-capped: it is built never to iterate purchases and never to pull full content. That constraint is part of the design, not an afterthought, and it shapes every step below.
Before any request goes out, the harness frames a purchase flow as a set of trust assumptions, each a hypothesis waiting to fail:
- Price authority: where is the amount decided, client or server?
- Price consistency: does the same product return the same price everywhere it is referenced?
- Entitlement/payment coupling: does what you receive always match what you paid for?
- Cross-component trust: when one service hands an order to another (a billing processor, a CDN), does the receiver re-verify, or does it trust the caller?
The design philosophy is to encode the merchant's implicit assumptions as testable invariants and then try to violate each one.
Finding it
Recon did not crawl pages. It crawled state transitions that involve value: anything that grants access, moves money, or changes an entitlement. On this target it enumerated the purchase surface and catalogued every offer the API exposed. The human lesson attached to this step is to start from the list of endpoints that can change what your account is allowed to have (purchase, redeem, upgrade, gift, refund, restore) rather than from the UI.
The pivotal observation came from reading, not from a technical trick. The platform exposed an authoritative offer lookup. The SKU's internal name contained a legacy resolution tag, which implies a cheap, low-resolution tier, but the catalogue's own human-readable label called the same offer "Access to Full Video" at $14.25. A hunter who trusts the internal name would assume a legitimate cheap product. RedHunter was taught the opposite: distrust internal names, trust the authoritative catalogue label and the fulfilment the offer actually grants. The name was a red herring; the offer was the full product.
That is where the SKU name and catalogue label disagreed, the lead that assumptions #2 and #3 would later fail on.
Exploitation
Step 1: Establish ground truth
The harness first recorded the honest state of a target item from an unprivileged account:
// GET /contents/{id} (authenticated, non-paying account){ "is_purchased": false, "price": { "usd": 14.25, "is_available_for_ppd": true }, "medias": [ { "title": "Full video", "type": "paid", "offer": { "message": "This video is available for paid access", "price": "14.25", "video_modes": ["web","hd","vga","1080p","4k"] } } ]}
Two facts are pinned down: the item costs $14.25, and it is locked (is_purchased: false). The baseline matters because impact cannot be proven later without a recorded before state; a locked resource returning 403 pre-exploit is the other half of the proof.
Step 2: Ask who the offer really is
The authoritative offer lookup for the same item returned:
// GET /offers/content?content_id={id}{ "content": { "message": "Access to Full Video", "product_offer": "PRODUCT_OFFER_CONTENT_<SKU>", "price": "14.25" }}
The product_offer value is the SKU the purchase will reference. The message and price fields are the catalogue's own statement of what that SKU is: the full video, at $14.25. The legacy resolution tag inside the SKU name disagrees with both, and that disagreement is the lead.
Step 3: Drive the purchase and read the number back
RedHunter initiated the purchase for that same SKU and inspected the order the server generated:
POST /offers/PRODUCT_OFFER_CONTENT_<SKU>/purchaseContent-Type: application/x-www-form-urlencodedX-CSRF-Token: <token>X-Requested-With: XMLHttpRequest
website_id=<id>&target_id=<content_id>&contentId=<content_id>
{ "paymentUrl": "https://<billing-processor>/checkout?cart_code=…&return_url=…" }
The response carried a paymentUrl pointing at the billing processor's checkout, with a cart_code and a return_url. The generated order was for $1.00, for the offer the catalogue had just priced at $14.25. Same SKU, same item, two different prices depending on which endpoint you asked. Assumption #2, price consistency, had failed.
Two operational notes were recorded at this point:
- A JSON body was rejected by the edge WAF with a tiny
403; the application expected form encoding plus a CSRF token. The harness adapts request encoding to what the app actually accepts instead of assuming a content type. A403is sometimes the WAF, not the auth layer. - The order was one-time, with no rebill or recurring terms, which rules out the "$1 trial that renews at full price" false positive early.
Step 4: Rule out "it's a feature"
Before claiming a bug, the harness ran a fixed checklist:
- Is there a legitimate cheap tier? The catalogue labelled this SKU the full product at full price. No.
- Does the cheap price deliver a cheap product, for example only low resolution? No: fulfilment granted every encoding, as Step 6 shows. Price and product were mismatched.
- Is it a promotional or trial price that rebills? No recurring terms were present.
- Is a wrong parameter causing a wrong lookup, such as a wrong site or region ID? The site/region parameter matched the content; the underprice was inherent to the SKU's server-side price resolution, not a parameter mismatch.
Only after all four cleared did the harness escalate. The author calls this gate the single most valuable habit in logic hunting, because half of rejected reports die here.
Step 5: Self-validate end to end
RedHunter completed a single, minimal proof transaction, one $1.00 order, and then confirmed the entitlement actually flipped. The distinction being drawn is between "the order form showed $1" (weak) and "the paywall is genuinely defeated" (undeniable). One transaction is enough; the harness is hard-capped to never iterate purchases or pull full content, so impact is proven with the smallest possible footprint.
Step 6: Confirm the entitlement flipped
Re-reading the item on the same account after the charge:
{ "is_purchased": true, "medias": [ { "title": "Full video", "type": "paid", "offer": null, "transcodings": [ { "video_mode": "web", "status": "download" }, { "video_mode": "hd", "status": "download" }, { "video_mode": "1080p", "status": "download" }, { "video_mode": "4k", "status": "download" } ] } ]}
The paywall offer object was gone (null), and every resolution, including the multi-gigabyte 4K master, was marked available. Assumption #3, payment/entitlement coupling, had failed: a $1 payment delivered the full $14.25 product.
To confirm the media was genuinely served without exfiltrating it, the harness issued a single ranged request returning 206 Partial Content. That was enough to verify a valid, signed, playable file header and the true file size, and nothing more. The same resource had returned 403 user_not_authenticated on the baseline. Before: 403. After: signed 200. The author treats that contrast as the whole ballgame: prove access, do not hoard it, because a ranged request that reads a header proves the file is served just as well as downloading 50 GB, and keeps the test unambiguously inside minimal proof of concept.
Root cause
The store computed the charge from a static price attached to the offer SKU instead of from the target content's authoritative, current price at order-creation time. A stale or legacy price row ($1.00) lived on a SKU whose real, catalogue-defined product was the full video at $14.25. Nothing in the pipeline reconciled the amount charged against the entitlement granted, so an underpriced order was created and then honoured.
There is also a cross-component trust dimension, assumption #4. The purchase service produced the underpriced order, and the separate billing processor honoured it without independently re-deriving the price from content authority. When two services split responsibility for deciding the price and collecting the money, neither may end up owning the check that the price is correct. The author calls that seam a recurring home for this bug class.
Nothing in the pipeline reconciled the amount charged against the entitlement granted.
Impact
The author frames impact the way a triager reads it:
- Systemic pricing-integrity failure, not one mispriced item: the flaw sits on the primary pay-per-item purchase path, so it generalises across the catalogue.
- Payment/entitlement decoupling: the platform delivers strictly more than it charges for.
- Trivially reachable: a single authenticated request creates the underpriced order, with no victim interaction and no social engineering.
- Cross-component scope change: the flaw in one service forces an underpriced order honoured by a distinct billing domain.
The report gives an illustrative severity of CVSS 3.1 ≈ 9.1 (Critical), vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N. The S:C scope-change component is justified by the order crossing the trust boundary between the purchase app and the billing processor. The author deliberately does not quantify how many items could be attacked or how much money could be saved, on the grounds that proving the class is critical is the report's job and enumerating how to strip-mine a live catalogue weakens a submission.
Fix
The report lists recommendations rather than a confirmed patch:
- Compute the charge server-side from the content's authoritative current price at order-creation time. Never trust a static price stored on an offer SKU.
- Add a fulfilment-time invariant:
charged_amount == content.current_pricefor direct purchases, and reject on mismatch. - Reconcile entitlement against payment: refuse any order where the granted entitlement, such as the full-resolution set, exceeds what the paid tier authorises.
- Retire or correct legacy price rows. If a genuinely cheaper tier is intended, its fulfilment must be constrained to that tier; a cheap price must deliver a cheap product.
- Make the billing processor re-derive or verify the price from content authority rather than trusting the caller-supplied amount, closing the cross-service seam.
Variants to test
The report compresses its method into a checklist that transfers to any store, subscription or entitlement flow:
- Map value-changing flows first: purchase, redeem, upgrade, gift, refund, restore. A positive result is a list of endpoints that change what an account is allowed to have.
- Capture the honest baseline: real price plus locked state. A positive result is a recorded real price and locked state before you touch anything.
- Find every place a price is stated (product page, cart, offer API, checkout, receipt) and diff them. Any disagreement is a lead.
- Distrust internal names. A SKU called
vga,basicorlegacymay deliver the premium product. Verify by what the SKU grants, not what it is named. - Read the amount the server generates, not the amount the client sends. The interesting bugs are where the server itself picks the wrong number.
- Run the "is it a feature?" gate before writing: cheap tier, cheap delivery, trial rebill, parameter mismatch. Run the gate before writing, as in Step 4 above.
- Validate with the minimum footprint: one transaction, a ranged request to confirm delivery, never bulk and never full exfiltration. One transaction and a ranged request to confirm delivery, never bulk and never full exfiltration.
- Prove the flip: before locked or
403, after unlocked or signed 200. That contrast is the report. - Report the invariant, not the loot: "payment and entitlement are decoupled" is the finding; frame impact by class and severity, not by how much could be taken.
The author also notes why the autonomous harness mattered: not speed, but consistency of the ruling-out discipline and restraint encoded as a rule rather than left to judgement under excitement. Aggressive hypothesis generation, ruthless self-validation and built-in restraint are the thesis; the bug itself was simple.
What happened, in plain words
A security researcher built a piece of software called RedHunter that hunts for bugs automatically, without a person clicking through a website. On a large online store that sells individual videos, RedHunter found a flaw in the checkout. The store's own catalogue said a particular video cost $14.25. But when RedHunter asked the store to buy that same video, the store created an order for $1.00. After paying that $1.00, the account was given the whole video, in every quality up to 4K, not a cheap low-quality version.
That is the whole bug in one sentence: the store charged one price and handed over a product worth another. The researcher's phrase for it is that the server trusted a price it should have recalculated itself.
This kind of bug is called a business-logic flaw, or here a price-integrity bypass. It is not a clever technical trick like breaking encryption. It is the computer doing exactly what it was programmed to do, while the business assumed it would do something else. Those bugs are hard for automatic scanners to find, because a scanner has no idea what a video should cost. They are also often well paid, because they touch money directly.
The rest of this article walks through the same steps the researcher took, in the same order, explaining every term from scratch. The target website, the product identifiers and the payment company are all hidden in the write-up, and they stay hidden here.
The setup: what RedHunter is, and what it was pointed at
RedHunter is an autonomous hunting harness. Break that down:
- Autonomous means it runs by itself. Nobody sits at the keyboard sending requests one at a time.
- Hunting means looking for security weaknesses, as opposed to defending a system.
- Harness is just a piece of software built to drive other software: it sends requests, reads the answers, and decides what to do next.
A useful comparison: a scanner is like a metal detector waved over a beach. It beeps at known shapes of metal. RedHunter is more like a person with a checklist who digs only where the checklist says something is worth digging for.
The target is described only as a large pay-per-item media store. That means a website that sells videos one at a time, rather than a monthly subscription that unlocks everything. Each item has its own price, and once you buy it, it unlocks for your account.
The feature under test is the ordinary purchase flow, which has four moving parts:
- A locked item shows a price.
- The buyer creates an order.
- A separate billing processor takes the payment. A billing processor is a different company or system that handles card payments, the way a shop might use a separate card terminal instead of handling cards itself.
- Fulfilment grants the entitlement. Fulfilment means delivering what was bought; an entitlement is the permission your account now has to view the item.
The write-up anonymises the target and redacts its details, including the domain, identifiers and billing processor address. The researcher says plainly that the value is the method, not the target.
The account used was an unprivileged, non-paying account: an ordinary account that had not bought anything. The same account was used again after the payment to check that the item had really unlocked. The report gives no software versions, no list of tools beyond RedHunter itself, and no other account details.
One design rule matters for everything that follows: RedHunter is hard-capped. It is built so that it can never buy the same thing repeatedly and can never download full content. That limit is deliberate, and it shapes every step below.
The four questions RedHunter asks before sending anything
Before a single request leaves the machine, the harness frames a purchase flow as a set of trust assumptions. An assumption here is something the website's designers believed was true, without necessarily checking it. Each one is a hypothesis, a guess that could turn out to be wrong. The four are:
- Price authority: where is the amount decided, on the buyer's computer (the client) or on the store's computer (the server)?
- Price consistency: does the same product return the same price everywhere it is mentioned?
- Entitlement/payment coupling: does what you receive always match what you paid for?
- Cross-component trust: when one service hands an order to another, does the receiver check the order again, or does it simply trust the sender?
A quick word on client and server, since the whole article leans on it. The client is the program on your side, normally your browser. The server is the computer at the store that holds the data and makes the decisions. A good rule of thumb: anything the client sends can be changed by the user, so security decisions belong on the server.
The design philosophy, in the researcher's words, is to write down the shopkeeper's unspoken assumptions as testable rules, called invariants, and then try to break each one. An invariant is a statement that should always hold, such as "the amount charged equals the catalogue price".
Finding it
Mapping flows, not pages
The first phase of any hunt is reconnaissance (recon): gathering information about the target. RedHunter's recon does not crawl pages the way a search engine does. It crawls state transitions that involve value. A state transition is a change in what is true about your account, for example from "not owned" to "owned". "Involves value" means it grants access, moves money, or changes an entitlement.
On this target it listed the purchase surface and catalogued every offer the API exposed. Two more terms:
- An API (application programming interface) is the set of addresses a website's own pages use to talk to its server. When you click "buy", your browser sends a request to one of these addresses and gets data back, usually in a format called JSON, which is just structured text with names and values.
- An offer here is the store's internal description of something for sale: what it is, what it costs, and what buying it grants.
The lesson for a human is to start from the list of addresses that can change what your account is allowed to have: purchase, redeem, upgrade, gift, refund, restore. Those are the hunting grounds. Starting from the visible web page instead means you only see what the designers chose to show you.
The observation that mattered
The turning point came from reading, not from a technical trick. The platform had an authoritative offer lookup, meaning an address that returns the store's official description of an offer. The SKU's internal name contained a legacy resolution tag. A SKU (stock keeping unit) is the shop's internal code for a product, like a barcode number. A resolution tag is a label like "vga" or "hd" that describes video quality. A legacy tag is an old one left over from earlier days. So the name suggested a cheap, low-resolution product.
But the catalogue's own human-readable label for the same offer said "Access to Full Video" at $14.25. The name and the label disagreed.
A careless hunter sees a low-resolution-sounding code and assumes it is a legitimate cheap product. RedHunter was taught the opposite: distrust internal names, and trust the official catalogue label plus what the offer actually delivers. The name was a red herring, a misleading clue. The offer was the full product.
That is where the SKU name and catalogue label disagreed, the lead that assumptions 2 and 3 would later fail on.
Exploitation, step by step
Step 1: Establish ground truth
Ground truth means the honest, recorded state of things before you touch anything. The harness first recorded the state of a target item from the unprivileged account:
// GET /contents/{id} (authenticated, non-paying account){ "is_purchased": false, "price": { "usd": 14.25, "is_available_for_ppd": true }, "medias": [ { "title": "Full video", "type": "paid", "offer": { "message": "This video is available for paid access", "price": "14.25", "video_modes": ["web","hd","vga","1080p","4k"] } } ]}
Line by line:
// GET /contents/{id}is a comment showing the request that produced this answer. GET is the kind of request a browser makes when it wants to read something; it does not change anything./contents/{id}is the address, where{id}stands for the item's identifier.(authenticated, non-paying account)means the request was made while logged in, using an account that had not paid for anything. Authenticated simply means "logged in and recognised by the server"."is_purchased": falsesays the item is not owned by this account. It is locked."price": { "usd": 14.25, ... }says the price is 14.25 US dollars.is_available_for_ppdmeans it can be bought pay-per-download, one item at a time."medias"is the list of media files belonging to the item. There is one entry, titled"Full video", of type"paid".- Inside it,
"offer"describes the paywall: a message saying the video needs paid access, the price again as"14.25", and"video_modes", the list of qualities available: web, hd, vga, 1080p and 4k.
Two facts are now pinned down: the item costs $14.25, and it is locked. Why bother? Because you cannot prove impact later without a recorded "before". A locked resource that answers 403 before the test is the other half of the proof. 403 is the HTTP status code for "forbidden": the server understood the request and refused it.
Step 2: Ask who the offer really is
The official offer lookup for the same item returned:
// GET /offers/content?content_id={id}{ "content": { "message": "Access to Full Video", "product_offer": "PRODUCT_OFFER_CONTENT_<SKU>", "price": "14.25" }}
Line by line:
// GET /offers/content?content_id={id}is the request: read the offer for a given content identifier. The part after the?is a parameter, a named value passed along with the request, like a form field in the address bar."message": "Access to Full Video"is the catalogue's own human-readable description of what you get."product_offer": "PRODUCT_OFFER_CONTENT_<SKU>"is the internal code the purchase will refer to. The<SKU>part is hidden in the write-up."price": "14.25"is the catalogue's price for it.
The product_offer value is the code the purchase step will use. The message and price fields are the catalogue's own statement of what that code means: the full video, at $14.25. The old resolution tag inside the code disagrees with both, and that disagreement is the lead.
Step 3: Drive the purchase and read the number back
RedHunter then started a purchase for that same code and looked at the order the server produced:
POST /offers/PRODUCT_OFFER_CONTENT_<SKU>/purchaseContent-Type: application/x-www-form-urlencodedX-CSRF-Token: <token>X-Requested-With: XMLHttpRequest
Line by line:
POSTis the kind of request used to send data and cause a change, here creating an order.GETreads;POSTacts./offers/PRODUCT_OFFER_CONTENT_<SKU>/purchaseis the address of the purchase action for that specific offer code.Content-Type: application/x-www-form-urlencodedtells the server the body is formatted like a web form, the same format a browser uses when you submit a form. The server needs to know this so it can read the body correctly.X-CSRF-Token: <token>is a CSRF token. CSRF stands for cross-site request forgery, an attack where another website tricks your logged-in browser into sending a request you did not intend. To prevent it, the site gives your browser a secret value, the token, which must be sent back with any state-changing request. A token is a short string that proves the request came from a page the site itself served. The actual value is hidden here.X-Requested-With: XMLHttpRequestis a header (an extra piece of information attached to a request) that tells the server the request came from the site's own scripting rather than a plain page load.
The body sent with that request was:
website_id=<id>&target_id=<content_id>&contentId=<content_id>
Line by line:
website_id=<id>identifies which site or region the purchase belongs to. The value is hidden.target_id=<content_id>andcontentId=<content_id>both point at the item being bought. The values are hidden.- The
&signs separate the fields, and each field is a name followed by=and a value. That is the form format announced in the header above.
The server answered with:
{ "paymentUrl": "https://<billing-processor>/checkout?cart_code=…&return_url=…" }
Line by line:
paymentUrlis the address the buyer is sent to in order to pay.https://<billing-processor>/checkoutis the billing processor's checkout page. The host is hidden.cart_code=…is an identifier for this particular order, so the payment side knows which order it is collecting for.return_url=…is where the buyer is sent back to after paying.
The generated order was for $1.00, for the offer the catalogue had just priced at $14.25. Same code, same item, two different prices depending on which address you asked. Assumption 2, price consistency, had failed.
Two practical notes were recorded here:
- Sending the same data as JSON was rejected by the edge WAF with a small
403. A WAF (web application firewall) is a filter that sits in front of a website and blocks requests that look unusual. The application wanted form encoding plus a CSRF token instead. The lesson is to adapt the request format to what the application actually accepts rather than assuming one. A403is sometimes the firewall talking, not the login system. - The order was one-time, with no rebill or recurring terms. That rules out the false positive "it is a $1 trial that renews at full price later". A false positive is something that looks like a bug but is not.
Step 4: Rule out "it's a feature"
This is the gate that separates a real finding from an embarrassing report. Before claiming a bug, prove it is not intended behaviour. The harness ran a fixed checklist:
- Is there a legitimate cheap tier? The catalogue labelled this code the full product at full price. No.
- Does the cheap price deliver a cheap product, for example only low resolution? No: fulfilment granted every quality, as Step 6 shows. Price and product were mismatched.
- Is it a promotional or trial price that rebills? No recurring terms were present.
- Is a wrong parameter causing a wrong lookup, such as a wrong site or region identifier? The site/region parameter matched the content, and the underprice came from how the server resolved the price for that code, not from a parameter mismatch.
Only after all four cleared did the harness escalate. The researcher calls this gate the single most valuable habit in logic hunting, because half of rejected reports die here. A rejected report is one the platform declines to accept as a bug.
Step 5: Self-validate end to end
RedHunter completed a single, minimal proof transaction: one $1.00 order. Then it confirmed the entitlement actually flipped. The distinction being drawn is between "the order form showed $1", which is weak, and "the paywall is genuinely defeated", which is undeniable. One transaction is enough. The harness is hard-capped to never repeat purchases or pull full content, so impact is proven with the smallest possible footprint.
Step 6: Confirm the entitlement flipped
Re-reading the item on the same account after the charge:
{ "is_purchased": true, "medias": [ { "title": "Full video", "type": "paid", "offer": null, "transcodings": [ { "video_mode": "web", "status": "download" }, { "video_mode": "hd", "status": "download" }, { "video_mode": "1080p", "status": "download" }, { "video_mode": "4k", "status": "download" } ] } ]}
Line by line:
"is_purchased": truesays the item is now owned by this account. The state changed."medias"again lists the media files. The entry is still titled"Full video"and typed"paid"."offer": nullmeans the paywall description is gone.nullis the JSON way of saying "nothing here"."transcodings"lists the available versions of the file. A transcoding is a converted copy of a video at a particular quality.- Each entry pairs a
video_mode(web, hd, 1080p, 4k) with"status": "download", meaning that version can be downloaded.
The paywall object was gone, and every quality, including the multi-gigabyte 4K master, was marked available. Assumption 3, payment/entitlement coupling, had failed: a $1 payment delivered the full $14.25 product.
To confirm the media was genuinely served without taking it, the harness issued a single ranged request that returned 206 Partial Content. Two terms:
- A ranged request asks the server for only part of a file, for example the first few kilobytes, instead of the whole thing. It is how video players start playing before the download finishes.
206 Partial Contentis the status code meaning "here is the part you asked for".
That was enough to check a valid, signed, playable file header and the true file size, and nothing more. A signed link is one carrying a cryptographic signature that proves the server authorised this particular download. The same resource had returned 403 user_not_authenticated on the baseline. Before: 403. After: signed 200. 200 is the status code for "OK, here it is".
The researcher treats that contrast as the whole ballgame: prove access, do not hoard it. A ranged request that reads a header proves the file is served just as well as downloading 50 GB, and it keeps the test unambiguously inside a minimal proof of concept. Triagers and lawyers both notice the difference. A triager is the person at the platform who reads incoming reports and decides whether they are valid.
Root cause
The store computed the charge from a static price attached to the offer code instead of from the target content's authoritative, current price at the moment the order was created. A stale or legacy price row of $1.00 lived on a code whose real, catalogue-defined product was the full video at $14.25. Nothing in the pipeline reconciled the amount charged against the entitlement granted, so an underpriced order was created and then honoured. Reconcile here means compare two numbers and refuse to continue if they disagree.
There is also a cross-component trust dimension, assumption 4. The purchase service produced the underpriced order, and the separate billing processor honoured it without independently recalculating the price from the content's authority. When two services split responsibility for deciding the price and collecting the money, neither may end up owning the check that the price is correct. The researcher calls that seam a recurring home for this bug class. A seam is the boundary where two systems meet.
Nothing in the pipeline reconciled the amount charged against the entitlement granted.
Impact
Impact is what an attacker could actually do with the bug, and it is what a triager reads first. The researcher frames it as follows:
- Systemic pricing-integrity failure, not one mispriced item. The flaw sits on the main pay-per-item purchase path, so it generalises across the catalogue. Systemic means it affects the whole system, not a single case.
- Payment/entitlement decoupling: the platform delivers strictly more than it charges for. Decoupling means two things that should move together have come apart.
- Trivially reachable: a single logged-in request creates the underpriced order, with no victim interaction and no social engineering. Social engineering is manipulating a person into doing something, such as revealing a password.
- Cross-component scope change: the flaw in one service forces an underpriced order that a distinct billing domain honours.
The report gives an illustrative severity of CVSS 3.1 ≈ 9.1 (Critical), with the vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N. CVSS is a standard scoring system for how serious a vulnerability is; 9.1 out of 10 falls in the Critical band. The vector is the shorthand that produces the score, and each part means something:
| Code | Meaning |
|---|---|
AV:N |
Attack vector: network, reachable over the internet |
AC:L |
Attack complexity: low |
PR:L |
Privileges required: low, an ordinary account |
UI:N |
User interaction: none needed from a victim |
S:C |
Scope: changed, the flaw affects another component |
C:H |
Confidentiality impact: high |
I:H |
Integrity impact: high |
A:N |
Availability impact: none |
The S:C scope-change part is justified because the order crosses the trust boundary between the purchase app and the billing processor. A trust boundary is a line where one system stops trusting another and should start checking for itself.
The researcher deliberately does not quantify how many items could be attacked or how much money could be saved. The reasoning is that proving the class is critical is the report's job, and explaining how to strip-mine a live catalogue weakens a submission rather than strengthening it.
Fix
The report lists recommendations rather than a confirmed patch. A patch is the change a vendor makes to repair the bug.
- Compute the charge on the server from the content's authoritative current price at the moment the order is created. Never trust a static price stored on an offer code.
- Add a check at fulfilment time:
charged_amount == content.current_pricefor direct purchases, and reject the order if they differ. The==means "must equal". - Reconcile entitlement against payment: refuse any order where the granted entitlement, such as the full set of resolutions, exceeds what the paid tier authorises.
- Retire or correct legacy price rows. If a genuinely cheaper tier is intended, its fulfilment must be limited to that tier. A cheap price must deliver a cheap product.
- Make the billing processor recalculate or verify the price from the content's authority rather than trusting the amount the caller supplied, closing the cross-service seam.
Variants to test
The report compresses its method into a checklist that transfers to any store, subscription or entitlement flow. Each item is followed by what a positive result looks like.
- Map value-changing flows first: purchase, redeem, upgrade, gift, refund, restore. A positive result is a list of addresses that change what an account is allowed to have.
- Capture the honest baseline: the real price plus the locked state. A positive result is a recorded real price and locked state before you touch anything.
- Find every place a price is stated (product page, cart, offer API, checkout, receipt) and compare them. Any disagreement is a lead.
- Distrust internal names. A code called
vga,basicorlegacymay deliver the premium product. Verify by what the code grants, not what it is named. - Read the amount the server generates, not the amount the client sends. The interesting bugs are where the server itself picks the wrong number.
- Run the "is it a feature?" gate before writing: cheap tier, cheap delivery, trial rebill, parameter mismatch. Run the gate before writing, as in Step 4 above.
- Validate with the minimum footprint: one transaction, a ranged request to confirm delivery, never bulk and never full exfiltration. Exfiltration means copying data out of a system. One transaction and a ranged request to confirm delivery, never bulk and never full exfiltration.
- Prove the flip: before locked or
403, after unlocked or signed 200. That contrast is the report. - Report the invariant, not the loot: "payment and entitlement are decoupled" is the finding. Frame impact by class and severity, not by how much could be taken.
The researcher also explains why the autonomous harness mattered. Not speed, but consistency of the ruling-out discipline, and restraint encoded as a rule rather than left to judgement under excitement. Aggressive hypothesis generation, ruthless self-validation and built-in restraint are the thesis. The bug itself was simple.
Glossary
- API: the set of addresses a website's own pages use to talk to its server, usually exchanging structured text.
- Authenticated: logged in and recognised by the server.
- Autonomous: running by itself, without a person driving each step.
- Baseline: the recorded, honest state of things before any test, used for comparison later.
- Billing processor: a separate service that collects payments on the store's behalf.
- Business-logic flaw: a bug where the software does exactly what it was programmed to do, but the business assumed it would do something else.
- Client: the program on the user's side, normally the browser.
- CSRF token: a secret value the site gives your browser and expects back with any state-changing request, to stop other sites forging requests.
- CVSS: a standard scoring system for the severity of a vulnerability, from 0 to 10.
- Decoupling: two things that should move together have come apart.
- Edge WAF: a filter sitting in front of a website that blocks requests that look unusual.
- Entitlement: the permission your account has to view or use something.
- Exfiltration: copying data out of a system without permission.
- False positive: something that looks like a bug but is not.
- Fulfilment: the step that delivers what was bought.
- GET: a request that reads something and changes nothing.
- Ground truth: the honest, recorded state of things before you touch anything.
- Harness: software built to drive other software: send requests, read answers, decide what to do next.
- Header: an extra piece of information attached to a request or response.
- Hypothesis: a guess that could turn out to be wrong, to be tested.
- Impact: what an attacker could actually do with the bug.
- Invariant: a statement that should always hold true, such as "the amount charged equals the catalogue price".
- JSON: a structured text format of names and values, used to exchange data.
- Parameter: a named value passed along with a request, like a form field in the address bar.
- Patch: the change a vendor makes to repair a bug.
- Pay-per-item: selling things one at a time, each with its own price.
- POST: a request that sends data and causes a change.
- Price-integrity bypass: a bug where the price the system charges can be made to disagree with the real price.
- Reconnaissance (recon): gathering information about a target before testing it.
- Reconcile: compare two numbers and refuse to continue if they disagree.
- Red herring: a misleading clue.
- Ranged request: asking the server for only part of a file instead of the whole thing.
- Seam: the boundary where two systems meet.
- Server: the computer at the store that holds the data and makes the decisions.
- Signed link: a link carrying a cryptographic signature proving the server authorised that download.
- SKU: the shop's internal code for a product, like a barcode number.
- Social engineering: manipulating a person into doing something, such as revealing a password.
- State transition: a change in what is true about your account, for example from "not owned" to "owned".
- Systemic: affecting the whole system, not a single case.
- Token: a short string that proves a request came from a page the site itself served.
- Transcoding: a converted copy of a video at a particular quality.
- Triager: the person at the platform who reads incoming reports and decides whether they are valid.
- Trust boundary: a line where one system stops trusting another and should start checking for itself.
- Unprivileged account: an ordinary account with no special rights.
- 200: the status code for "OK, here it is".
- 206 Partial Content: the status code meaning "here is the part of the file you asked for".
- 403: the status code for "forbidden": the server understood the request and refused it.