Skip to content
CSRF Disclosed report Beginner

Csrf near report abuse meme

The report abuse form on Imgur did not properly validate a server-side token, so an attacker could submit a report on behalf of any user. This could allow an attacker to file false abuse reports against any meme.

oroborus Follow

Originally disclosed on HackerOne

  • Fixed in 5 days
  • Disclosed after 2 months

Hey team i would like to report a real csrf threat which allows attacker to make report abuse to any meme on behalf of the users

how i found this bug :-

lets visit to any meme example :-

1> http://imgur.com/t/memes/ieTEJEd 2> i clicked on post options 3> i got an option called report i clicked on it 4> i selected a option of abusive/offensive 5>started my intercept and click on report 6> after intercepting i saw the post request having a unique token like ''Sid'' which maybe for form validations 7>i managed to delete the value of sid and still get a 200 ok status code and it was report abused

below i will attach the snapshot of the original request edited and response :)

i ve attached images of original request and i have stripped off the formvalidation tokens and session values and passed the request i could still get a 200 ok status which means the vaidations are not properly checked server side

Attachments

12.png
12.png From the original on HackerOne
11.png
11.png
13.png
13.png

The original report as published on HackerOne, by oroborus. 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 server did not validate the 'sid' token on the report abuse endpoint, allowing requests without a valid token to succeed.

Impact

An attacker could submit abuse reports on behalf of any user, potentially leading to false reports against memes.

What the attacker needed

Victim has an account; attacker can send a request

The fix

The server should check the 'sid' token on report abuse requests and reject missing or invalid tokens.

How it was found

  1. Visit any meme page on Imgur.
  2. Click on post options and select the report option.
  3. Choose the abusive/offensive option.
  4. Start intercepting traffic and click report.
  5. Observe the POST request containing a unique token called 'Sid'.
  6. Delete the value of 'sid' and still receive a 200 OK status, confirming the report was submitted.

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 submit a form, the website often includes a hidden token to make sure the request really came from its own pages. Here, the server did not check that token, so someone could craft a request from another site and make it look like you reported a meme. This is called cross-site request forgery (CSRF).

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by oroborus

View all

2 more disclosed reports, best first.

More from Imgur

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.