Cheating at gallery rating
The rating endpoint accepted an arbitrarily large mark, allowing cheating in voting and skewing the rating.
- 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.
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.