Skip to content
Business logic Disclosed report Beginner

Opportunity to post hidden comments

A blocked user could still reply to the blocker's tweets, and the blocker could not see those replies while other users could. This allowed an attacker to abuse the victim without the victim knowing.

Anurag Jain Follow

Originally disclosed on HackerOne

Critical View original
  • Disclosed after 37 days

Summary by the researcher

I reported an issue using which Attacker posted messages on victim's tweet cannot be seen by victim but can be observed by any other twitter user.

An example for this is:

Attacker login to Twitter Attacker blocks victim using Block@victim button at https://twitter.com/<victim> Attacker opens any popular tweet of victim Attacker abuses victim in the tweet reply Victim cannot see the tweet reply posted by Attacker but any other user can see that reply.

The report

Twitter allows to comment on anyone's tweet. While testing this feature, observed that one can post comment on tweet which will be invisible to the victim whom the reply was posted and would be visible to any other twitter user. This can allow an Attacker to abuse victim on a tweet. The catch here is victim cannot even know that attacker posted on his tweet but any other twitter user can see that tweet.

Steps to reproduce

  1. Attacker login to Twitter
  2. Attacker blocks victim using Block@victim button at https://twitter.com/<victim>
  3. Attacker opens any popular tweet of victim
  4. Attacker abuses victim in the tweet reply
  5. Victim cannot see the tweet reply posted by Attacker but any other user can see that reply.

Recommendation If a person blocks a twitter user then he/she should not be allowed to post on any of the blocked user tweets.

Impact

This can allow an Attacker to abuse victim on a tweet. The catch here is victim cannot even know that attacker posted on his tweet but any other twitter user can see that tweet.

Attachments

2.PNG
2.PNG From the original on HackerOne
1.PNG
1.PNG
3.PNG
3.PNG
4.PNG
4.PNG
5.PNG
5.PNG

The original report as published on HackerOne, by csanuragjain. 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 block feature did not prevent blocked users from replying to the blocker's tweets, and the reply visibility logic hid those replies from the blocker.

Impact

An attacker could abuse the victim on a tweet without the victim knowing, while other users could see the reply.

What the attacker needed

A Twitter account; attacker blocks the victim; victim has a public tweet

How it was found

  1. Attacker logs in to Twitter.
  2. Attacker blocks the victim using the block button on the victim's profile.
  3. Attacker opens a popular tweet by the victim.
  4. Attacker posts an abusive reply to that tweet.
  5. The victim cannot see the reply, but other users can.

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.

On Twitter, if you block someone, you expect they cannot interact with you. Here, a blocked person could still post replies to your tweets, but those replies were hidden from you and visible to everyone else. That means someone could insult you publicly without you ever seeing it.

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.

More by Anurag Jain

View all

63 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

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.