Skip to content
Business logic Write-up Beginner

How I was able to Modify Ratings on a Target and Cause Business Impact

The server did not enforce the one-rating-per-user rule, so replaying the same rating request repeatedly inflated the vote count and skewed the average score. An attacker could lower a challenge's overall rating by submitting many low scores.

infosecwriteups.com

Published on infosecwriteups.com

One fine day, while browsing LinkedIn like any other random day, I saw a post of someone showing a swag they received from a target. It was a tech-based platform that offered coding/programming exams as a service.

RivuDon, on infosecwriteups.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.

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 server did not track which users had already rated a challenge and did not reject duplicate submissions.

Impact

A single user could repeatedly submit the same rating to artificially increase the total vote count and manipulate the overall rating score of any challenge.

What the attacker needed

A free developer account; an intercepting proxy

The fix

The server should track rating submissions per user per challenge and reject duplicate submissions server-side, regardless of request replays.

How it was found

  1. Sign up as a developer and log in.
  2. Submit a rating for a challenge.
  3. Intercept the rating request with a proxy.
  4. Replay the same request multiple times.

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.

A website let people rate a coding challenge once, but the server didn't actually check if you had already voted. By sending the same vote over and over, one person could change the average score that everyone sees.

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.

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.