Wednesday, May 20, 2015

Vulnerability in Safari Allows Attackers to Spoof Websites

from tripwire.com
A security firm has discovered a vulnerability in Apple’s Safari Browser that allows attackers to spoof legitimate websites and phish for user credentials.

Security firm Deusen reveals that the flaw works by using a short script to force Safari into loading one page while still displaying the URL of another page. This script is provided below:

<script>
function f()
{
location=”dailymail.co.uk/home/index.htm…”+Math.random();
}
setInterval(“f()”,10);
</script>

Deusen has published a demonstration of the vulnerability here.

The code is very simple: webpage reloads every 10 milliseconds using the setInterval() function, just before the browser can get the real page and so the user sees the ‘real’ web address instead of the fake one,” comments Manuel Humberto Santander Peláez, Handler at SANS Internet Storm Center.
The bug works on fully patched versions of iOS and OSX. Even so, the demo code is not perfect.

safariStaff members at Ars Technica tested the vulnerability, and while the demo code worked flawlessly with a MacBook Pro, the address bar on an iPad Mini periodically refreshed as the page appeared to reload.

Similarly, Help Net Security experienced some problems when testing the bug. The demo code appeared to work only until a user switched tabs, and even then, it reasoned that savvy users would notice a flickering in the loading progress bar of the address bar.

Despite the demo code’s flaws, less experienced users might not notice this behavior. Attackers could subsequently target unaware users by redirecting them to a malicious website where they could attempt to infect visitors with malware or steal their login credentials.

This vulnerability was discovered by the same group of researchers who discovered a Universal Cross Site Scripting (XSS) vulnerability in the latest versions of Microsoft’s Internet Explorer back in February of this year. That flaw also put web users’ login credentials and sensitive information at risk.

Users are encouraged to watch out for spoofing attacks that redirect them to phishing schemes.

3 comments:

  1. Thanks for informing us about the vulnerability in safari. I am anMobile Developer. On searching on Internet, I found you blog from one iOS developer forum.
    I found your blog very useful, Surely bookmark this blog for future use.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Funny, I used to be discussing this Macbook Test issue with my older sister the other day, now I'll have one particular more OLED Stripe argument in my hand when it’ll appear to confrontation after again....

    ReplyDelete