Skip to content
Access control Disclosed report Beginner

Cheating at gallery rating

The rating endpoint accepted an arbitrarily large mark, allowing cheating in voting and skewing the rating.

sobolev Follow

Originally disclosed on HackerOne

  • Fixed in 3 days
  • Disclosed after 3 days

Hello!

Example: http://www.zaption.com/listing/55aba5719c77e5386eb28df0

We can rate tour any mark by POST http://www.zaption.com/ajax/gallery/listing/{tour_id}/rate/{mark} For example: POST http://www.zaption.com/ajax/gallery/listing/55aba5719c77e5386eb28df0/rate/100000000000000000

So, we have "curve" layout and cheating in voting.

The original report as published on HackerOne, by sobolev. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server did not validate that the rating mark was within the expected range before using it in the average calculation.

Impact

An attacker could cheat in voting on a tour's rating by submitting an arbitrary mark.

What the attacker needed

No authentication mentioned; knowledge of a tour ID

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 report has not been written yet. The Original tab links to the source.

The server accepted any mark, even a huge one, so someone could cheat in voting on a tour's rating.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Zaption

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.