Extremely high Course rating values could be set in order to make really high Average rating of the course. Negative values could be set to.
The course rating form accepted arbitrary integer values, including the maximum and minimum 32-bit signed integers, because the server did not validate the rating range. An authenticated attacker could submit such a rating and distort the course's average rating, potentially misleading other users about course quality.
- Triaged in 26 days
- Fixed in 28 days
- Paid in 2 months
- Disclosed after 3 months
Authenticated user can register for some course (paid or free). After registering and taking couple of lectures "Rate course" functional becomes active.
Malicious user can fill the rating form and submit it. By intercepting request to the server's API (by using intercepting proxy tool) and modify rating value he can set enormously large values as rating. After experimenting following restrictions was found:
- 2147483647 <-- Maximum rating value
- -2147483648 <-- Minimal rating value
Example of setting such rating could be found on the SCREEN: Set_rating_1.jpg
After some time that rating will affect correct calculation of course's average rating: PROF SCREEN: Result_of_wrong_rating_2.png
This issue could be used by attacker in order to trick user to buy bad quality content.
p.s. In order to remove wrong rating value i've already deleted my review. Here is PROF SCREEN: Delete_rating_3.jpg
Attachments



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 trusted the client-supplied rating value without validating that it fell within the intended range.
Impact
An attacker could distort a course's average rating, potentially tricking users into buying poor-quality content.
What the attacker needed
Authenticated user; enrolled in a course; completed a couple of lectures; intercepting proxy tool
How it was found
- Register for a course and take a couple of lectures so the rating function becomes active.
- Fill in the rating form and submit it while intercepting the request with a proxy tool.
- Modify the rating value in the request to an extremely large or negative number and forward it.
- Observe that the course's average rating is later calculated using the wrong value.
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.
When you rate a course, your browser sends a number to the server. The server should check that the number is within the allowed range, such as 1 to 5. Here it did not, so someone could send a huge or negative number and change the course's average score.
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.