InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

Follow publication

Hacking Web Apps: Understanding Cross-Site Request Forgery (CSRF) Vulnerabilities

Anbu Hack Ops
InfoSec Write-ups
Published in
4 min readJun 1, 2023

Photo by Shamsudeen Adedokun on Unsplash

Introduction

Cross-Site Request Forgery (CSRF) is a web security vulnerability where an attacker tricks a user’s web browser into performing unwanted actions on a website or web application without their knowledge or consent. By exploiting the trust between the user’s browser and the target website, the attacker can manipulate authenticated requests, leading to unauthorized actions being executed on the user’s behalf. CSRF attacks can have serious consequences, such as account compromise, data manipulation, or unauthorized transactions.

The demonstration in this article showcases a low-security level scenario where a GET request is used to change the admin password. It emphasizes the inherent risks of passing sensitive information, such as passwords, in the URL. By understanding the potential vulnerabilities associated with CSRF attacks, individuals can take appropriate measures to secure their web applications and prevent such exploits.

I adhered to ethical standards throughout this project and never engaged in illegal or malicious activities. However, as a cybersecurity enthusiast, learning about potential vulnerabilities and attack vectors is crucial to better protect against them.

Disclaimer:

All information, techniques, and tools described in this write-up are for educational purposes only. Use anything in this write-up at your discretion; I cannot be held responsible for any damages caused to any systems or yourselves legally. Using all tools and techniques described in this write-up for attacking individuals or organizations without their prior consent is highly illegal. You must obey all applicable local, state, and federal laws. I assume and accept no liability and will not be responsible for any misuse or damage caused by using the information herein.

CSRF Security Level: Low

Set the security level to low.

Click on the CSRF tab, and here is a change your admin password form. For example, change the…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

No responses yet

Write a response