Skip to content
Business logic Write-up Intermediate

When the Marketing Page Became the Threat Model: Forging “Verified Reviews” on PriceRunner

The review-creation API on PriceRunner accepted reviews without authentication and without any evidence of a completed purchase, so an anonymous user could publish a review and change a merchant's public rating. The 'Verified Reviews' label therefore did not reflect any server-side verification.

arshiahunterrr1 Follow

Published on medium.com

Bug Bounty

redhunter01, on medium.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 8 min read.

Context

PriceRunner advertises a "Verified Reviews" system. The premise, as the write-up describes it, is that reviews are supposed to come from customers who have actually completed a purchase. That promise is a trust signal shown to consumers, and it is the thing the researcher decided to test.

The target of the investigation was the review functionality behind the UK site, reached through an API gateway under /uk/api/user-edge-rest/. The write-up does not name a bug bounty programme, a payout, or a CVSS score; the weakness class it settles on is a business-logic flaw in which the server never enforces the condition that gives the "Verified" label its meaning.

The researcher's framing is that the interesting part was not the payload but the decision about what to test. The question that drove everything was: where does the server enforce the promise that only purchasers can review? If the answer is nowhere, the trust signal is a claim made by the interface rather than a security control.

Setup

The write-up describes no accounts, roles, or special tooling beyond a proxy running while browsing the site. The testing was performed unauthenticated: the whole point is that no account and no demonstrated purchase were needed. The only precondition worth noting is that the API specification was reachable without authentication, which is what made the endpoint map available.

Finding it

The starting point was the marketing copy itself. The researcher treats product statements as security specifications, because each statement implies a control. Examples of the kind of claim that implies a control include "Only verified customers can leave a review", "Only members of your organization can access this data", "Free trials are limited to one per customer", and "Prices are locked when you check out".

For the verified-review claim, the server would need to establish three things:

  1. Who is submitting the review?
  2. Did that person actually complete a purchase?
  3. Is this review tied to that legitimate transaction?

That gives a testable model: advertised guarantee, then required server-side control, then actual server behaviour. The question stops being "Can I submit a review?" and becomes "What evidence does the server require before it believes someone is a verified customer?"

Reconnaissance and the API specification

With a proxy running while browsing PriceRunner, the frontend's requests revealed an API gateway under:

Text
/uk/api/user-edge-rest/

The user-edge naming suggested a user-facing gateway rather than an internal service. The next question was whether the gateway described its own attack surface. For Spring/Java applications, the researcher lists common OpenAPI and Swagger locations worth checking:

Text
/v2/api-docs/v3/api-docs/swagger-ui.html/swagger-resources

In this case /v2/api-docs returned an API specification without requiring authentication. Beyond information disclosure, an API specification tells you where the application expects security decisions to happen: it exposes routes, methods, parameters, schemas, and authentication requirements in one place, which makes it an attack-surface map rather than a list of endpoints to discover one at a time.

The inconsistency

The interesting endpoints looked roughly like this:

Text
POST /public/ccreviewAuthorization: none
Text
POST /public/ccreview/{reference}Authorization: optionalPOST /public/ccreview/{reference}/commentAuthorization: requiredGET /public/ccreview/{merchantId}/scoreAuthorization: none

The observation was not simply that some endpoints were public. It was the inconsistency: a closely related endpoint explicitly required authorization, while the endpoints responsible for creating the review did not. If an entire API is deliberately public, that may be the design. When two neighbouring operations perform related actions and one is authenticated while the other is not, the difference deserves investigation. The researcher calls inconsistency the fingerprint of a broken security assumption.

The request schema

The first review endpoint accepted a structure resembling:

JSON
{  "authorEmail": "...",  "merchantId": 123,  "scores": {    "..."  }}

What is absent matters more than what is present. There was no:

Text
orderIdtransactionIdpurchaseIdcustomerAccountId

Nothing obviously tied the review to a completed purchase. The product's promise was not "someone can submit a review" but "a customer who completed a purchase can submit a verified review", and enforcing that requires a trustworthy relationship between the review and a real transaction. The request model contained no obvious transaction binding, which strengthened the hypothesis: the endpoint may not simply be missing an authorization check, its input model may not provide the evidence required to perform the promised purchase verification at all.

Exploitation

Step 1: prove the authentication boundary without creating a review

Rather than create data immediately, the researcher sent an intentionally invalid request without credentials. Conceptually:

HTTP
POST /uk/api/user-edge-rest/public/ccreviewContent-Type: application/json

The response was:

Text
400 Bad Request

with validation errors indicating that required fields such as scores and merchantId were missing. That small response was informative. If authentication were enforced before application processing, an anonymous request would normally be rejected at the authentication boundary, typically with a 401 or 403. Instead the application was validating the body, which means the request had reached business-logic validation. The server was willing to process an anonymous request before any state was created.

The general technique: on an unfamiliar write endpoint, deliberately invalid input reveals whether you are reaching authentication, authorization, validation, or deeper business logic, without changing data.

Step 2: separate the CDN from the application

Direct requests from a datacenter environment could encounter:

Text
403 Forbiddenx-cache: Error from cloudfront

It would have been easy to conclude the endpoint was protected, but that confuses two different security layers. Authentication asks who you are; authorization asks whether you are allowed to perform the operation; bot protection asks whether the request looks like an automated client. Those controls are not interchangeable. Once the request was made through a browser-like client, the edge-layer behaviour no longer prevented the application from being reached. The conclusion is not that the CDN is irrelevant, but that a bot-defence response does not prove the underlying application has an authorization control.

Step 3: demonstrate persistence on a test sink

With enough evidence to suspect the flaw, the next question was whether it changed persistent application state. The goal was not to manufacture dozens of fake reviews or damage a merchant's reputation. A merchant/test entity already contained security-testing reviews, which provided a place to show that the endpoint accepted and persisted a review without unnecessarily affecting a real business.

Step 4: prove consumer-visible impact minimally

Where a real merchant was needed to show that the rating itself changed, the test was deliberately limited: one review, benign content, positive rather than defamatory content, rating count measured before and after, and the resulting consumer-facing value verified. The observed transition was effectively:

Text
Before
Text
10 ratings   │   │  unauthenticated review submission   ▼After11 ratings

The number 11 is not the point. The chain is:

Text
No authenticated customer        ↓Review accepted        ↓Review persisted        ↓Public rating changed        ↓Consumers could see the changed value

One carefully measured request was enough to demonstrate the mechanism.

Step 5: the second endpoint and the multi-stage workflow

The review was not necessarily a single request. The process consisted of multiple stages. The first request established the review and scores. A second endpoint could then add review text:

Text
POST /public/ccreview/{reference}

Its authentication requirement was listed as optional. There was also an unauthenticated endpoint capable of checking whether a review reference existed.

This is a recurring business-logic pattern: never assume that because step one of a workflow is protected, step two is protected. Applications frequently assume that a user who completed step one must be legitimate, and therefore that step two is safe. But HTTP requests are independent, and an attacker does not have to follow the intended state machine. They can call step two directly. The same pattern appears in checkout flows, surveys, onboarding, KYC workflows, password recovery, and many other multi-stage processes.

Root cause

The easiest description of the bug is "the review API doesn't require authentication", but that is incomplete. The more interesting failure is the contradiction between the trust model advertised to users and the trust model enforced by the backend.

The product told consumers:

Text
Verified Review      ↓Real customer      ↓Completed purchase      ↓Trustworthy rating

The backend allowed:

Text
Anonymous Internet User      ↓POST review      ↓Review persisted      ↓Rating affected

That gap is the vulnerability. The review system was not merely missing a login; it was failing to enforce the condition that gave the "Verified" label its meaning. The request schema contained no obvious transaction identifier, so the input model did not appear to provide the evidence needed to bind the review to a purchase. The sibling endpoint that required authorization made the omission on the creation path stand out as an inconsistency worth investigating.

Impact

The demonstrated impact was primarily integrity and reputation. The write-up does not claim account takeover, payment theft, exposure of private customer information, or arbitrary server-side code execution. Public ratings are a trust signal consumers use when evaluating merchants, so the integrity impact can still be meaningful.

The absence of authentication, CAPTCHA, and effective per-review identity binding also means scaling the manipulation could be considerably easier than in a properly protected review system. The report distinguishes demonstrated impact, an unauthenticated user can create reviews and influence the public rating, from potential scaled impact, an attacker could potentially automate repeated submissions to manipulate merchant reputation. That distinction matters: good security writing does not need to inflate impact, it needs to make the evidence impossible to misunderstand.

Fix

The write-up does not describe a fix or a vendor response. The root cause it identifies is that the server never enforced the condition behind the "Verified" label. The schema would need to carry the transaction reference that the current model lacks.

Variants to test

  1. Sibling endpoint authorization mismatch. Pull the API specification and compare authentication requirements across operations that act on the same resource. A positive result is a write operation marked as unauthenticated next to a read or comment operation that requires authorization.

  2. Schema without transaction binding. Inspect request schemas for review, rating, or feedback endpoints and look for the absence of order, transaction, purchase, or account identifiers. A positive result is a creation model that cannot express the evidence the advertised rule requires.

  3. Malformed anonymous request. Send {} or another invalid body without credentials to a write endpoint. A 400 with field validation errors suggests the request reached business logic; a 401 or 403 suggests the authentication boundary held.

  4. Edge versus application. Repeat a request from a datacenter client and from a browser-like client. A positive result is a CDN or bot-protection rejection that disappears once the request looks like a browser, with the application still processing it.

  5. Direct call to a later workflow step. Ask what happens if step two is called directly, without following the intended state machine.

  6. Minimal impact measurement. On a test entity, submit one benign review and record the public rating count before and after. A positive result is a consumer-visible change in the rating caused by an unauthenticated submission.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 26 min read.

What happened, in plain words

PriceRunner is a shopping comparison site. It shows products from different shops and, importantly, it shows reviews of those shops. Some of those reviews carry a label that says they are "Verified Reviews". The idea behind that label is simple and it is the whole point of the feature: a review is marked as verified because the person who wrote it actually bought something from that shop. When you see a verified review, you are meant to trust it more than an anonymous comment, because a real customer wrote it.

A security researcher looked at that promise and asked a very practical question: where in the computer system behind the website is that promise actually checked? Not displayed, not advertised, but checked. If a shop's website says "only customers who bought something can review us", then somewhere a computer has to look at a review being submitted and confirm that the person submitting it is a real customer with a real purchase. If no computer does that, the word "Verified" is just decoration.

What the researcher found was that the review system accepted reviews from anyone at all, with no login, no account, and no proof of purchase. A review sent by a completely anonymous person was stored, and it changed the shop's public rating count. That is the bug.

The rest of this article walks through how the researcher got there, step by step, in the same order as the original write-up. Along the way we will explain every technical idea from scratch, because the method matters more than the specific website.

1. Turn the marketing page into a security specification

Most people who start learning about security think the job begins with strange code, special tools, or clever tricks. The researcher starts somewhere much more ordinary: the words a company uses to sell its product.

Companies make promises all the time. Here are examples of the kind the write-up lists:

  • "Only verified customers can leave a review."
  • "Only members of your organization can access this data."
  • "Free trials are limited to one per customer."
  • "Prices are locked when you check out."

Each of those sentences sounds like marketing. But read it as an engineer and it becomes a requirement. "Only verified customers can leave a review" is really saying: the system must be able to tell a verified customer apart from everyone else, and must refuse everyone else. That is a rule the software has to enforce. In security language, a rule the system must always keep true is called an invariant.

So the researcher's first move is to take the marketing sentence and turn it into a list of things the server would need to know in order to keep that promise. For the verified-review claim, the server would need to establish three things:

  1. Who is submitting the review? There has to be some identity involved, otherwise "customer" means nothing.
  2. Did that person actually complete a purchase? Identity alone is not enough; plenty of people have accounts and never bought anything.
  3. Is this review tied to that legitimate transaction? Even a real customer's identity is useless if the review is not connected to the specific purchase it claims to be about.

That gives a simple model you can reuse on any product:

Advertised guarantee → required server-side control → actual server behaviour

In plain words: what does the company say, what would the computer have to check to make that true, and what does the computer actually check?

The question is no longer "Can I submit a review?" Anyone can try that. The question becomes:

What evidence does the server require before it believes someone is a verified customer?

That reframing is the heart of the whole article. It is also a good habit for a beginner: before you touch anything, write down what the product claims, and write down what a computer would have to do to make the claim true.

2. Finding the API

Now the researcher needs to look at what the website actually sends and receives. To do that, they run a proxy while browsing PriceRunner.

A proxy is a program that sits between your browser and the internet. Instead of your browser talking directly to the website, it talks to the proxy, and the proxy passes the messages on. Because everything passes through it, the proxy can show you every request your browser makes and every response the website sends back. Think of it like standing next to a person making phone calls with a notepad: you hear both sides of the conversation. A common free tool for this is called Burp Suite, though the write-up does not name the tool used.

While browsing, the proxy showed requests going to an address under:

Text
/uk/api/user-edge-rest/

Let us unpack that. An API (Application Programming Interface) is the set of addresses and rules a website's front end uses to talk to its back end. When you load a page and it fills in product prices or reviews, your browser is usually not receiving a finished page; it is calling the API, which returns raw data, and the page draws that data on screen. You can think of the API as the waiter in a restaurant: you (the browser) do not walk into the kitchen (the server); you tell the waiter what you want, and the waiter brings it back. The API is the menu of things you are allowed to ask for.

The path /uk/api/user-edge-rest/ is a URL path, the part of a web address after the domain name. It tells the server which area of its API you are talking to. The uk part suggests this is the UK version of the site. The user-edge part is a name the developers chose; the researcher found it interesting because it suggests a gateway meant for ordinary users rather than an internal service. A gateway is a single front door that many internal services sit behind: requests arrive at the gateway, and it decides where to send them.

The next question was whether the gateway described its own attack surface. In other words: does the API publish a document listing all its addresses and what they expect? Many web frameworks can generate such a document automatically. For applications built with Spring, a very popular framework for the Java programming language, the researcher lists common places where that document lives:

Text
/v2/api-docs/v3/api-docs/swagger-ui.html/swagger-resources

These are four separate paths, written one after another in the write-up. OpenAPI and Swagger are names for a standard way of describing an API in a machine-readable document: it lists every address (called an endpoint), what kind of request each one accepts, what data it expects, and whether it requires a login. The /v2/api-docs path is one of the conventional places that document is served.

In this case, /v2/api-docs returned the API specification without requiring authentication. That is useful for a reason beyond simply leaking information. An API specification tells you where the application expects security decisions to happen. Instead of discovering endpoints one at a time by clicking around, the specification hands you the routes, methods, parameters, schemas, and authentication requirements in one place. The researcher calls it an attack-surface map.

Attack surface means all the places where someone could interact with the system: every address that accepts a request. The bigger the surface, the more places there are to check. A map of that surface is enormously helpful, because you can see the whole thing at once instead of stumbling around.

3. The inconsistency that stood out

The interesting endpoints looked roughly like this:

Text
POST /public/ccreviewAuthorization: none
Text
POST /public/ccreview/{reference}Authorization: optionalPOST /public/ccreview/{reference}/commentAuthorization: requiredGET /public/ccreview/{merchantId}/scoreAuthorization: none

These blocks are copied from the write-up, and they are a little squashed together. Let us read them slowly.

Each line describes one endpoint: an address on the server that accepts a particular kind of request. The word at the start, POST or GET, is the HTTP method. HTTP is the language browsers and servers use to talk. A GET request asks for information ("give me this page"); a POST request sends information and asks the server to do something with it ("here is a review, store it"). When you fill in a form and press submit, your browser usually sends a POST.

The Authorization: part is a note in the specification saying whether that endpoint requires the caller to prove who they are. The three possible values here are:

  • none: no proof of identity is needed at all. Anyone can call it.
  • optional: the server accepts a call with or without proof of identity.
  • required: the server will only process the call if the caller proves who they are.

Now look at what the endpoints do:

  • POST /public/ccreview creates a review. Authorization: none.
  • POST /public/ccreview/{reference} adds something to an existing review, identified by a {reference}. Authorization: optional.
  • POST /public/ccreview/{reference}/comment adds a comment to a review. Authorization: required.
  • GET /public/ccreview/{merchantId}/score reads the score for a merchant, identified by {merchantId}. Authorization: none.

The curly-brace parts like {reference} and {merchantId} are placeholders. They are not literal text; they are where a real value goes. If a merchant's ID is 123, then {merchantId} becomes 123. A merchant here is a shop listed on the site. A reference is an identifier for a particular review, so the server knows which one you mean.

The important observation was not simply that some endpoints were public. It was the inconsistency. A closely related endpoint, the one for comments, explicitly required authorization, while the endpoints responsible for creating the review did not. If an entire API is deliberately public, perhaps that is the design. But when two neighbouring operations perform related actions and one is authenticated while the other is not, the difference deserves investigation.

The researcher puts it well: inconsistency is often the fingerprint of a broken security assumption. Think of a building where every door has a lock except one, and that one is right next to a locked door. Maybe the unlocked door is intentional, but it is worth a look.

4. The request schema made the problem even clearer

The first review endpoint accepted a structure resembling:

JSON
{  "authorEmail": "...",  "merchantId": 123,  "scores": {    "..."  }}

This is JSON, a common way of writing data as text so a computer can read it. It is built from keys (the names in quotes, like authorEmail) and values (what follows the colon). Curly braces group things together, and a value can itself be a group, as with scores.

Line by line:

  • { opens the object, the whole bundle of data.
  • "authorEmail": "..." is the key authorEmail with a placeholder value. This is where the reviewer's email address would go. An email address is personal data, so in a real report it would be redacted.
  • "merchantId": 123 is the key merchantId with the value 123. This says which shop the review is about.
  • "scores": { "..." } is the key scores, whose value is another object (the inner braces). This is where the star ratings would go.
  • } closes the object.

A schema is the description of what shape of data an endpoint expects: which keys, what type of value each one holds, which are required. The schema here is the list of keys the server is willing to receive.

Now notice what is not there. There was no:

Text
orderIdtransactionIdpurchaseIdcustomerAccountId

Again, these are four separate names written together. Each is a kind of identifier:

  • orderId: the ID of an order.
  • transactionId: the ID of a payment transaction.
  • purchaseId: the ID of a purchase.
  • customerAccountId: the ID of a customer account.

Any one of these would let the server connect a review to a real purchase. None of them appears in the schema. Nothing obviously tied the review to a completed purchase.

That matters because the product's promise was not merely "someone can submit a review". It was "a customer who completed a purchase can submit a verified review". To enforce that promise, the server needs some trustworthy relationship between the review and a real transaction. The request model contained no obvious transaction binding.

At that point the hypothesis became much stronger. It was not just that the endpoint might be missing an authorization check. Its input model did not appear to provide the evidence required to perform the promised purchase verification at all. In other words: the data arriving at the server did not appear to include the information needed to check. That is a deeper problem than a forgotten password prompt.

5. Proving the authentication boundary without creating a review

There was no need to immediately create data. A safer first test was to send an intentionally invalid request without credentials. Conceptually:

HTTP
POST /uk/api/user-edge-rest/public/ccreviewContent-Type: application/json

This block shows the start of an HTTP request. Line by line:

  • POST is the method: we are sending data and asking the server to act on it.
  • /uk/api/user-edge-rest/public/ccreview is the address we are sending it to.
  • Content-Type: application/json is a header. Headers are extra notes attached to a request, like the label on a parcel telling the recipient what is inside. This one says the body of the request is JSON.

Notice there is no Authorization header here, and no cookie. A cookie is a small piece of data a website stores in your browser after you log in, and your browser sends it back with every request so the site can recognise you. An Authorization header is a similar idea used by APIs: a piece of text, often called a token, that proves who you are. Sending neither means the request is anonymous: the server has no idea who is calling.

Then the body of the request:

This is an empty JSON object. It contains no data at all. It is deliberately invalid, because the endpoint expects scores and merchantId at minimum.

The response was:

Text
400 Bad Request

A status code is a three-digit number the server sends back to summarise what happened. 400 means "your request was malformed; I could not understand or accept it". Other common ones you will meet in this article are 401 ("you are not logged in"), 403 ("you are logged in but not allowed"), and 200 ("fine").

The response also contained validation errors indicating that required fields such as scores and merchantId were missing. Validation is the server checking that the data you sent makes sense: are the required fields present, are the values the right type, and so on.

That small response was surprisingly informative. If authentication were enforced before application processing, an anonymous request would normally be rejected at the authentication boundary, typically with a 401 or 403. Instead the application was validating the body. The request had reached business-logic validation.

In other words: the server was willing to process an anonymous request before creating any state. State here means stored data: a review that now exists. The server had not yet stored anything, but it had taken the anonymous request seriously enough to inspect its contents and complain about missing fields.

This is a useful technique in general. When investigating an unfamiliar write endpoint, deliberately invalid input can reveal whether you are reaching authentication, authorization, validation, or deeper business logic, without immediately changing data. It is like knocking on a door with an empty envelope: if someone opens it and tells you the envelope is empty, you have learned that the door is not locked, without having posted anything through it.

6. Do not confuse the CDN with the application

There was another trap. Direct requests from a datacenter environment could encounter:

Text
403 Forbiddenx-cache: Error from cloudfront

This is two pieces of information run together. The first is the status code 403 Forbidden, meaning "I understood your request but I refuse to serve it". The second is a response header, x-cache: Error from cloudfront. CloudFront is Amazon's CDN, a content delivery network. A CDN is a network of servers placed around the world that sit in front of a website, caching pages and filtering traffic so the real servers behind them are protected and fast. The x-cache header is the CDN telling you something about how it handled the request; here, that there was an error at the CDN layer.

It would have been easy to conclude: "The endpoint is protected." But that would confuse two completely different security layers.

A CDN or bot-protection service can reject a request based on characteristics of the connection. Bot protection is software that tries to spot automated traffic, for example by looking at how fast requests arrive, what software is making them, or where they come from. It is not checking whether you are allowed to do something; it is checking whether you look like a robot.

Authentication asks: Who are you?

Authorization asks: Are you allowed to perform this operation?

Bot protection asks something different: Does this request look like an automated client?

Those controls should not be treated as interchangeable. A bouncer at a club door checking your ID is not the same as the manager deciding whether you are on the guest list, and neither is the same as a sign saying "no robots allowed".

Once the request was made through a browser-like client, the edge-layer behaviour no longer prevented the application from being reached. The important conclusion was not that the CDN was irrelevant. It was that a bot-defence response does not prove that the underlying application has an authorization control. The CDN said no; the application behind it might still say yes.

7. The actual impact

At this point there was enough evidence to investigate whether the suspected flaw actually changed persistent application state. In plain words: does a review sent this way actually get saved and shown?

This is where responsible testing matters. The goal was not to manufacture dozens of fake reviews or damage a merchant's reputation. A safer progression was used.

First: use a test sink

A merchant/test entity already contained security-testing reviews. That provided a place to demonstrate that the endpoint actually accepted and persisted a review without unnecessarily affecting a real business. A test sink is a place designed to absorb test data, like a sandbox or a spare account, so that experiments do not spill into the real world.

Then: prove consumer-visible impact minimally

Where a real merchant was needed to demonstrate that the rating itself changed, the test was deliberately limited:

  • one review;
  • benign content;
  • positive rather than defamatory content;
  • rating count measured before and after;
  • resulting consumer-facing value verified.

Benign means harmless: nothing insulting, nothing false in a damaging way. Defamatory means damaging to someone's reputation. The researcher chose positive rather than defamatory content, so the test review was benign. The rating count was measured before and after, and the resulting consumer-facing value was verified.

The observed transition was effectively:

Text
Before
Text
10 ratings   │   │  unauthenticated review submission   ▼After11 ratings

This is a little diagram. Read it as a timeline:

  • Before: the shop had 10 ratings.
  • Then an arrow down, labelled unauthenticated review submission: a review was sent with no login.
  • After: the shop had 11 ratings.

The important part was not the number 11. It was the chain:

Text
No authenticated customer        ↓Review accepted        ↓Review persisted        ↓Public rating changed        ↓Consumers could see the changed value

Line by line, this is the sequence of events that proves the bug:

  • No authenticated customer: nobody logged in was involved.
  • Review accepted: the server took the review.
  • Review persisted: the server saved it. Persisted means stored permanently, not just held in memory for a moment.
  • Public rating changed: the shop's visible score went up.
  • Consumers could see the changed value: ordinary shoppers looking at the page saw the new number.

One carefully measured request was enough to demonstrate the mechanism. A mechanism here means the underlying way the bug works, as opposed to a one-off accident.

8. The second endpoint revealed another weakness

There was an additional detail hiding in the workflow. A workflow is a sequence of steps a user goes through to complete a task, like a checkout with several pages.

The review was not necessarily a single request. The process consisted of multiple stages. The first request established the review and scores. A second endpoint could then add review text:

Text
POST /public/ccreview/{reference}

This is the same shape as before: a POST to an address, where {reference} is a placeholder for the ID of the review created in the first step. Its authentication requirement was listed as optional. There was also an unauthenticated endpoint capable of checking whether a review reference existed.

This creates a common business-logic pattern worth remembering: never assume that because step one of a workflow is protected, step two is protected. Applications frequently make assumptions such as:

Text
User completed step 1        ↓Therefore user must be legitimate        ↓Step 2 doesn

The last line is cut off in the write-up, but the meaning is clear: the application assumes that because step one happened, step two is safe. But HTTP requests are independent. An attacker does not have to follow the application's intended state machine. They can ask: what happens if I call step two directly?

A state machine is the set of allowed steps and transitions in a workflow. A website might expect you to go from cart, to address, to payment, to confirmation. But the server receives each of those as a separate request, and nothing forces a caller to send them in order. It is like a form at a doctor's office: the receptionist assumes you filled in the first page before the second, but if nobody checks, you can hand in only page two.

This pattern appears in checkout flows, surveys, onboarding, KYC workflows, password recovery, and many other multi-stage processes. KYC stands for "know your customer", the identity checks banks and financial services must perform.

9. Why this is more than "an unauthenticated POST"

The easiest way to describe this bug would be: "The review API doesn't require authentication." That is technically useful, but incomplete.

The more interesting security failure was the contradiction between the trust model advertised to users and the trust model enforced by the backend. A trust model is the set of assumptions about who can be believed and why. The product effectively told consumers:

Text
Verified Review      ↓Real customer      ↓Completed purchase      ↓Trustworthy rating

Read down the arrows: a verified review means a real customer, which means a completed purchase, which means a rating you can trust. That is the promise.

The backend behaviour allowed:

Text
Anonymous Internet User      ↓POST review      ↓Review persisted      ↓Rating affected

Read down these arrows: an anonymous person on the internet sends a review, the review is saved, and the rating is affected. That is what actually happened.

That gap is the vulnerability. The review system was not merely missing a login. It was failing to enforce the condition that gave the "Verified" label its meaning.

10. Severity: don't turn an integrity bug into a Critical

Severity is how serious a bug is judged to be. There is a temptation with bugs like this to immediately argue for the highest possible severity. That usually makes a report weaker, because it looks like exaggeration.

The demonstrated impact was primarily integrity and reputation. In security, integrity means data is correct and has not been tampered with. A rating that says 11 when it should say 10 is an integrity problem. Reputation is how a shop is perceived, and ratings feed directly into that.

It did not demonstrate:

  • account takeover (someone else gaining control of your account);
  • payment theft (stealing money through the payment system);
  • exposure of private customer information (leaking personal data);
  • arbitrary server-side code execution (making the server run code of the attacker's choosing).

So a conservative severity assessment is appropriate. Conservative here means not claiming more than the evidence supports.

The integrity impact can nevertheless be meaningful because public ratings are a trust signal used by consumers when evaluating merchants. The absence of authentication, CAPTCHA, and effective per-review identity binding also means that scaling the manipulation could be considerably easier than it would be in a properly protected review system. A CAPTCHA is the little puzzle that asks you to prove you are human, like clicking pictures of traffic lights. Scaling means doing something many times automatically rather than once by hand.

A reasonable report should therefore distinguish between:

Demonstrated impact

An unauthenticated user can create reviews and influence the public rating.

and:

Potential scaled impact

An attacker could potentially automate repeated submissions to manipulate merchant reputation.

The first is something the researcher actually did and measured. The second is a reasonable worry about what could happen at scale, but it was not demonstrated. That distinction matters. Good security writing does not need to inflate the impact. It needs to make the evidence impossible to misunderstand.

The larger lesson

The most valuable part of this bug was not the endpoint. It was the methodology. A company's marketing copy can sometimes tell you exactly which security property is worth testing.

When a product says "Only X can do Y", translate that sentence into engineering requirements. For example:

Text
"Only verified customers can review."
Text
            ↓What must the server know?            ↓Who is the customer?Did they purchase?Which transaction?Can the review be bound to it?Can the identity be trusted?            ↓Where are those checks implemented?            ↓Are they actually enforced?

This diagram is a chain of questions. Read it top to bottom:

  • Start with the sentence: "Only verified customers can review."
  • Ask what the server must know for that to be true.
  • That breaks into: who is the customer, did they purchase, which transaction, can the review be bound to it, can the identity be trusted.
  • Then ask where those checks are implemented. Implemented means actually written into the software.
  • Finally ask whether they are actually enforced. Enforced means the software really refuses when the check fails, not just that the check exists somewhere.

That transformation turns marketing language into a threat model. A threat model is a structured description of what could go wrong and what protections are supposed to stop it. Once you start looking at products this way, you stop hunting only for interesting endpoints. You start hunting for broken promises.

A reusable methodology

The next time you are testing an API, try this sequence.

1. Read what the product promises

Look at help pages, trust pages, pricing pages, documentation, and onboarding flows. Look for phrases like:

"Only X can..."

"We guarantee..."

"Verified..."

"Limited to..."

"Private..."

Each one can represent a potential security invariant, a rule the system is supposed to keep true.

2. Translate the promise into server-side requirements

Ask: "What would the backend have to verify for this statement to actually be true?" The backend is the part of the system you do not see, the servers and databases behind the page.

3. Find the API surface

Watch browser traffic and inspect API specifications when they are legitimately exposed. "Legitimately exposed" means the site itself serves them, not that you broke in to get them.

4. Compare sibling endpoints

Look for:

Text
required=truerequired=false

in related operations. This is shorthand for two neighbouring endpoints where one says authorization is required and the other says it is not. Differences often reveal mistakes.

5. Read the schemas

Ask: "Does the server even receive the information necessary to enforce the claimed rule?" A missing transaction ID, tenant ID, ownership reference, or authorization context can be an important clue. A tenant is an organisation using a shared service; a tenant ID says which organisation a piece of data belongs to. An ownership reference says who owns a thing.

6. Establish the security boundary safely

Use malformed, non-state-changing requests first. Determine whether you are reaching:

Text
CDN  ↓Bot protection  ↓Authentication  ↓Authorization  ↓Validation  ↓Business logic

This is a stack of layers, from the outside in. A request passes through the CDN, then bot protection, then authentication, then authorization, then validation, then the business logic itself. Each layer can reject it. Knowing which layer answered tells you a lot. Do not confuse one layer with another.

7. Test workflow steps independently

Never assume: "The previous request was authenticated, therefore this request is safe." Each request stands on its own.

8. Prove impact with the smallest possible action

Prefer test entities. If real-world validation is necessary, minimise it, use benign data, measure before and after, and record everything for cleanup. Cleanup means removing the test data afterwards so you leave things as you found them.

9. Separate evidence from speculation

Write "We observed..." before "This suggests...", and keep "The developers probably..." out unless there is actual evidence. Speculation is guessing without proof. Keeping the two apart makes a report credible.

10. Let the evidence determine severity

Do not start with "This is Critical." Start with "What can I demonstrate?" Then score what you actually demonstrated.

Final takeaway

The vulnerability was not discovered by finding an exotic payload. A payload is the specific piece of data you send to try to trigger a bug. It started with a sentence on a webpage.

"Only customers who have completed a purchase can submit reviews."

That sentence described a security boundary. The API then provided a way to test whether that boundary actually existed. It did not.

And that is one of the most useful habits a bug hunter can develop: read the product's promises as if they were security specifications, then look for the place where the server forgets to keep them.

Glossary

  • API: the set of addresses and rules a website's front end uses to talk to its back end; the menu of things you can ask the server for.
  • API specification: a document describing an API's endpoints, methods, parameters, schemas, and authentication requirements.
  • Attack surface: all the places where someone could interact with a system, such as every address that accepts a request.
  • Authentication: proving who you are, usually by logging in or presenting a token.
  • Authorization: whether an identified caller is allowed to perform a particular operation.
  • Backend: the servers and databases behind a website that the user does not see.
  • Benign: harmless; content that does not damage anyone.
  • Bot protection: software that tries to detect automated traffic and block it.
  • CAPTCHA: a puzzle designed to prove a human is making the request.
  • CDN (content delivery network): a network of servers placed in front of a website to cache content and filter traffic.
  • CloudFront: Amazon's content delivery network.
  • Conservative (severity): not claiming more impact than the evidence supports.
  • Cookie: a small piece of data a website stores in your browser and your browser sends back with requests, often used to recognise you after login.
  • Defamatory: damaging to someone's reputation.
  • Endpoint: a specific address on a server that accepts a particular kind of request.
  • Enforced: actually applied by the software, so that a failed check really stops the action.
  • Gateway: a single front door that routes requests to internal services behind it.
  • GET: an HTTP method that asks the server for information.
  • Header: extra information attached to an HTTP request or response, such as the content type or a cache status.
  • HTTP: the language browsers and servers use to exchange requests and responses.
  • HTTP method: the verb at the start of a request, such as GET or POST, saying what kind of action is wanted.
  • Implemented: actually written into the software.
  • Integrity: the property that data is correct and has not been tampered with.
  • Invariant: a rule the system must always keep true.
  • Java: a popular programming language, often used with the Spring framework for web applications.
  • JSON: a text format for writing structured data as keys and values.
  • KYC (know your customer): identity checks that financial services must perform on their customers.
  • Mechanism: the underlying way something works, as opposed to a one-off accident.
  • Merchant: a shop or business listed on a comparison site.
  • OpenAPI: a standard way of describing an API in a machine-readable document.
  • Persisted: stored permanently, not just held in memory for a moment.
  • Placeholder: a part of an address like {reference} that is replaced with a real value.
  • POST: an HTTP method that sends data to the server and asks it to act on it.
  • Proxy: a program that sits between your browser and the internet and shows you every request and response.
  • Reference: an identifier for a particular item, here a review.
  • Reputation: how a shop is perceived by others, which ratings influence.
  • Scaling: doing something many times, often automatically, rather than once by hand.
  • Schema: the description of what shape of data an endpoint expects.
  • Severity: how serious a bug is judged to be.
  • Speculation: guessing without evidence.
  • Spring: a popular framework for building web applications in Java.
  • State: stored data, such as a review that now exists.
  • State machine: the set of allowed steps and transitions in a workflow.
  • Status code: a three-digit number a server returns to summarise the outcome of a request, such as 400, 401, 403, or 200.
  • Swagger: a set of tools and conventions for describing and exploring APIs, closely related to OpenAPI.
  • Tenant: an organisation using a shared service; a tenant ID says which organisation data belongs to.
  • Test sink: a place designed to absorb test data so experiments do not affect real users.
  • Threat model: a structured description of what could go wrong and what protections are supposed to stop it.
  • Token: a piece of text, often in an Authorization header, that proves who you are.
  • Trust model: the set of assumptions about who can be believed and why.
  • Validation: checking that submitted data makes sense, such as required fields being present.
  • Workflow: a sequence of steps a user goes through to complete a task.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.