Skip to content
Business logic Write-up Beginner

Unauthenticated Like & Dislike Manipulation — WordPress, Co

The WordPress plugin comments-like-dislike allows unauthenticated users to repeatedly send POST requests to increment like/dislike counters on comments. An attacker could manipulate reader perception by artificially inflating or deflating comment scores.

Lars de Bruijn Follow

Published on medium.com

The comments-like-dislike WordPress plugin used on the site allows any unauthenticated user to repeatedly send POST requests to increment the like/dislike counters on comments. While this is not a direct code execution or data breach vulnerability, it has significant social engineering implications.

Lars de Bruijn, 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 does not validate that a user has already liked or disliked a comment, relying only on a client-side flag and a reusable nonce.

Impact

An attacker could artificially amplify supportive comments or mass downvote dissenting opinions, creating a false sense of consensus on sensitive topics.

What the attacker needed

Target site uses the vulnerable plugin; No authentication required

The fix

The plugin should implement server-side validation to ensure each user can only like/dislike a comment once, and should not rely on cookies or frontend state for validation.

How it was found

  1. Find a comment section on a news website using the plugin.
  2. Observe the like/dislike request in the browser's Network tab.
  3. Replay the request using curl without authentication.
  4. Repeat the request to increment the like count indefinitely.

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 WordPress plugin lets visitors like or dislike comments. The problem is that the server does not check who is sending the like or dislike, so anyone can send the same request over and over to add unlimited likes or dislikes. This can make a comment look very popular or very unpopular, which might influence what other people think.

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.