pastebin - collaborative debugging tool
kpaste.net RSS


FIREFOX HOLE WARNING?
Posted by Anonymous on Thu 15th Nov 2012 05:44
raw | new post

  1. tor-talk@lists.torproject.org
  2. SERIOUS ISSUE With Details! Re: Base64 Encoded Images: How to block them?
  3.  
  4. From: https://tails.boum.org/forum/Base64_Encoded_Images:_How_to_block_them__63__/
  5.  
  6. @comment 9 / Comment by Anonymous — Wed 14 Nov 2012 06:23:21 AM CET
  7.  
  8. "This has been a known "trivial" bug since 2006. Looking it over, it appears that the security benefit of being able to reduce ones browser's attack surface might have been overlooked. Or perhaps we've missed something!
  9.  
  10. The best way to get something done about this would be to create a Bugzilla account and explain the necessity (don't nag - just explain the need and the impications which seem to have been missed)
  11.  
  12. The bug is 331257. While you're there you might also be interested in 255107 and 786275."
  13.  
  14. https://bugzilla.mozilla.org/show_bug.cgi?id=255107
  15. https://bugzilla.mozilla.org/show_bug.cgi?id=331257
  16. https://bugzilla.mozilla.org/show_bug.cgi?id=786275
  17.  
  18. #####
  19.  
  20. @comment 14:
  21.  
  22. "This excellent thread should be looked upon by the Tor and Tails developers. Has Mozilla dropped the ball on this? It appears to me to be a vicious bug which should be patched."
  23.  
  24. - Story:
  25.  
  26. ::: Firefox, Opera allow crooks to hide an entire phish site in a link :::
  27.  
  28. http://www.theregister.co.uk/2012/09/03/phishing_without_hosts_peril/
  29.  
  30. "Watch out for the tinyurl that isn't | By John Leyden | Security, 11/03/2012
  31.  
  32. A shortcoming in browsers including Firefox and Opera allows crooks to easily hide an entire malicious web page in a clickable link - ideal for fooling victims into handing over passwords and other sensitive info.
  33.  
  34. Usually, so-called "phishing attacks" rely on tricking marks into visiting websites designed by criminals to masquerade as banks and online stores, thus snaffling punters' credentials and bank account details when they try to use the bogus pages. However this requires finding somewhere to host the counterfeit sites, which are often quickly taken down by hosting companies and the authorities or blocked by filters.
  35.  
  36. Instead, the malicious web pages can be stored in data URIs - uniform resource identifiers, not to be confused with URLs - which stuff the web code into a handy string that when clicked on, instructs the browser to unpack the payload and present it as a page.
  37.  
  38. It negates the need to find somewhere to secrete your malicious page, and once shortened using a service such as TinyURL, the URI can be reduced to a small URL perfect for passing around social networks, online chats and email. Crooks may need to set up a server to receive data from victims, however.
  39.  
  40. It's a technique already documented by researchers Billy Rios and Nathan McFeters - but now Henning Klevjer, an information security student at the University of Oslo in Norway, has revisited the attack method in his paper, Phishing by data URI [PDF][1].
  41.  
  42. Typically an attacker would first create a standalone web page, probably using content scraped off the legitimate site it seeks to mimic before making an encoded page and embedding it into a data URI.
  43.  
  44. URI-based attacks were previously documented by Rios and McFeters as part of an attack Microsoft’s Internet Explorer 6 and 7. Klevjer's research expands on this basic theme and gives it a modern twist.
  45.  
  46. Google’s Chrome browser blocks redirection to data URIs, and other browsers have limits on the volume of data that can be packed into URIs. Klevjer created a 26KB attack page that failed to load in Internet Explorer, but worked on both Firefox and Opera.
  47.  
  48. As well as getting around the need to find a home for malicious web pages, the data URI trick can sidestep traditional scam defences, such as web filtering. Data URIs may also contain a potentially malicious Java applet, a major concern following last week's Java-related security flap, a post on Sophos's Naked Security blog[2] notes. ®"
  49.  
  50. [1] http://klevjers.com/papers/phishing.pdf
  51. [2] http://nakedsecurity.sophos.com/2012/08/31/phishing-without-a-webpage-researcher-reveals-how-a-link-itself-can-be-malicious
  52.  
  53. #####
  54.  
  55. Thank you for the bug report pages, this one appears to have a lot of insight:
  56.  
  57. https://bugzilla.mozilla.org/show_bug.cgi?id=786275
  58.  
  59. #####
  60.  
  61. This appears to be a SERIOUS HOLE in FF/IW to me!
  62.  
  63. #####
  64.  
  65. Original discussion:
  66.  
  67. Base64 Encoded Images: How to block them?
  68.  
  69. Visit news.google.com with images disabled in your browser. You'll notice [some] images are displayed.
  70.  
  71. Right click on one of the images and select View Image Info. Now browse through the files listed and you'll discover some beginning with the following instead of http://
  72.  
  73. data:image/jpeg;base64,/
  74.  
  75. How can I disable the loading of these images when I have image loading disabled?
  76.  
  77. Can malware be injected into the browser with this tactic?

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at