Skip to content
Business logic Write-up Beginner

Blog view count manipulation by automated requests.

A blogging platform counted every HTTP request to a post as a view, with no rate limiting or bot detection. An attacker could run a simple script to inflate a post's view count, misleading analytics and ranking.

medium.com

Published on medium.com

In the world of digital content, metrics like view counts play a crucial role in determining a blog’s popularity and credibility. But what happens when these numbers can be artificially inflated?

Shahariar Amin, 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 platform incremented the view counter on every page load without rate limiting, session checks or bot detection.

Impact

Inflated view counts could mislead creators, advertisers and readers, damage platform credibility and unfairly boost content in popularity-based rankings.

What the attacker needed

No account needed; network access to the blog URL

The fix

The platform should add rate limiting, CAPTCHA on suspicious traffic, server-side validation tied to real sessions and monitoring of repetitive access patterns.

How it was found

  1. Pick a blog post URL on the platform.
  2. Run a script that requests that URL many times in a loop.
  3. Refresh the post and observe the view count has risen sharply.

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 view count is meant to show how many real people read a post. Here, the website increased the number every time any request arrived, even from a script, so a person could make a post look far more popular than it is. This is a business logic flaw: the site trusts a number it never checks.

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.