Zen Follower
- Join Date:
- Dec 2011
- Posts:
- 287
- Plugin Contributions:
- 0
"Vunerability Found" Is it true?
Recently had a whitehack hacker letting us know the website is vunerable to clickjacking please see information below, Is this true and do I need to take action?
Bug type : UI Redressing
Impact : Phishing (account compromise)
Description :
Clickjacking, also known as a "UI redress attack", is when an attacker uses multiple transparent or opaque layers to trick a user into clicking on a button or link on another page when they were intending to click on the top level page. Thus, the attacker is "hijacking" clicks meant for their page and routing them to another page, most likely owned by another application, domain, or both.
Using a similar technique, keystrokes can also be hijacked. With a carefully crafted combination of stylesheets, iframes, and text boxes, a user can be led to believe they are typing in the password to their email or bank account, but are instead typing into an invisible frame controlled by the attacker.
POC:
"< html >
< body >
< h1 > Website is vulnerable to clickjacking< h1 >
< iframe width =100% height=80% src ="https://website.com/log-in ">< /iframe >
< /body >
< /html >"
Impact:
The site can also be opened in an iframe after the user has logged it making it hard for the user to avoid phishing.A user can be tricked into entering his credentials in what way are the placeholder for the original website details. And thus his credentials would be sent to the attacker. Furthermore the Payment page is also vulnerable to UI redressing Allowing for an attacker to gain access to the users payment credentials.
Remediation :
Add an iframe destroyer in the header of the page . Also if you would like for your website to open is specified Iframe origin headers then you can define the Origin headers for those websites or origins.
Thanks