Skip to content
Business logic Write-up Beginner

0 star rating got me 40 EUR. MY first bug I got paid for.

A function on a website accepted a tampered parameter, allowing a user to submit a zero-star rating. The attacker could manipulate the rating value rather than being restricted to the intended range.

siyamhassan.main Follow

Published on medium.com

It’s been a while since I last wrote a write-up. I had given up on bug bounty hunting because I didn’t get any significant findings.

Clasher, 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.

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 trusted a client-supplied rating value without validating it against the allowed range.

What the attacker needed

Access to the rating function

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 lets you rate something, usually with a number of stars. The site trusted whatever number the browser sent, so a user could change it to zero or another value instead of being limited to the allowed choices. This is called parameter tampering: editing the data your browser sends to the server.

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.

More by siyamhassan.main

View all

1 more disclosed report, best first.

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.