Navigate to the live "Gruyere" instance. Open your browser’s Developer Tools (F12). Try to delete another user's snippet just by guessing the URL. Try to change your own privilege level to "admin" by editing hidden form fields.
An attacker manipulates a file path in a URL. For example, changing view?file=photo.jpg to view?file=../../../../etc/passwd . The ../ sequence tells the server to "go up one folder," eventually reaching the root directory. The Defense gruyere learn web application exploits defenses top