www.i4info.org

Would you like to react to this message? Create an account in a few clicks or log in to continue.
www.i4info.org

i4info Provides the best hacking Material. Latest hacking tutorials and tools are available here. It is the best place for hackers.

Latest topics

» Teen Patti Gold Hack & 3 Patti Chips Code Extra Bonus 2017
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptySat Apr 29, 2017 10:50 am by ubedullah

» Group hackers
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptySat Apr 15, 2017 2:37 pm by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptySat Apr 15, 2017 3:57 am by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptySat Apr 15, 2017 1:45 am by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptyThu Apr 13, 2017 11:10 pm by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptyTue Apr 11, 2017 2:07 pm by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptyTue Apr 11, 2017 2:21 am by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptyTue Apr 11, 2017 2:06 am by Group Hackers

» Hacker Needed
This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing EmptyTue Apr 11, 2017 1:35 am by Group Hackers

November 2024

MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Affiliates


free forum

Forumotion on Facebook Forumotion on Twitter Forumotion on YouTubeForumotion on Google+

Visitors Counter


Flag Counter


    This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing

    Admin
    Admin
    Admin


    Posts : 474
    Reputation : 8
    Join date : 2014-12-10
    Age : 32
    Location : Pakistan

    This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing Empty This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing

    Post by Admin Sun Sep 04, 2016 6:30 am

    This Familiar HTML Attribute Has Given Birth To A New Way Of Phishing Html-1024x768

    The “target” attribute of anchor tag in HTML converts a website into a phishing platform if the website allows its users to post links.

    We all use the anchor tag in HTML for providing a hyperlink in our hypertext document. But using this attribute with value ” _blank” in a particular way may make your website a great target for attackers.

    The case becomes worse if your website is vulnerable to XSS.

    Why?
    Because when you open a new tab by reference from an existing tab, your browser allows this new tab to communicate with the referrer tab by using window.opener API.

    How Does It Work:

    imagine you have coded a webpage which has hyperlinks and you have used the target attribute with value _blank in this way:

    href="http//:[You must be registered and logged in to see this link.] target="_blank"

    And the link which is being referred here allows the users to put links on this page in some way. For example, Facebook allows you to put a link to your website on your website’s Facebook page.
    Then a user may place a link to his/her website which has some malicious script on it like:

    window.opener.location('http:fakewebsite.com/fakepage');

    When the link is opened in new tab, this malicious code changes the link loaded in the referrer tab. The attacker may place a fake page asking for login, and ultimately collect your credentials.

    Can I prevent this from happening?

    Of course you can. By placing this code in your anchor tag, you can prevent your page from being used as a phishing surface.

    rel="noopener"

    If you are lazy enough to risk your security, I suggest a one time solution. Download this from github and include this file as a script source in your next document.

    If you want to read further, I would advise you to follow the text on this page.

    And finally,if you have any further queries, feel free to ask in the comments.

      Current date/time is Fri Nov 22, 2024 12:12 am