Are Hotlinked Images Now a Liability?
ConcernedImage asks: "I work for a company that has a strong online community, with a full set of message boards that currently allow external image hotlinking. With the new WMF exploit out there, all it takes is one user to link to a bad image, and suddenly it's -our- web site inflicting the computers of others (at least, as far as our users are concerned). Is allowing hotlinked images a legal liability now? What steps are other online communities taking to protect themselves and their users against this?"
I believe that's the technical definition of stupid.
"Made up/misattributed quote that makes me look smart. I am on
Hotlinks always were a liability, or at least have been from the moment the goatse domain was registered...
Uh... not allow hotlinking to wmf files?
Best Windows Freeware
What steps are other online communities taking to protect themselves and their users against this?"
Using Linux? Using a Mac?
I kid. But seriously, the issue is PC security, not server security. If your PC is vulnerable to an exploit simply for viewing an image, the problem is YOURS, not the server that happens to link to an image that happens to use that exploit.
GeekNights!
Late Night Radio for Geeks!
Hotlinking is now officially a lose-lose situtation for all parties involved.
if someone steals your gun and kills someone, are you liable? It's unlikely that you'd be liable, but it's really up to the people doing the decision making. Always make sure you have a good lawyer, just in case.
If you don't want crime to pay, let the government run it.
I suppose you could always cache the images people link to in order to virus-scan them, but that seems really time- and space-consuming.
Matthew G P Coe
http://mgpcoe.blogspot.com/
The forums of Puzzle Pirates switched off all images when it became clear how bad this exploit is. They later turned back on avatars, since they're checked by the server (only accepts JPEGs and GIFs of a certain max size, and then stored server side, as far as I know).
The original announcement said they'd be back when Microsoft release their official patch, but I think PP is giving everybody time to patch first.
I believe posters are recognized by their sig. So I made one.
IANAL, but IMHO you most definitely are liable for unusual hazards to present to visitors. I'm not sure how you avoid liability for libel and copyright violations except perhaps by prompt action. Common-carrier is not common-storer, although public warehouses have existed for centuries.
Here, it is very easy for you to wrapper IMG tags to require a click, and maybe tag them with source URL for those many lusers who surf with Status lines turned off, or who have no clue to look. Then at least the user specifically asked for it, rather than having it unknowably thrust upon her when hitting a previously-safe page.
You see, even if you did disable hotlinking to images, someone could just as easy post a link to a picture on another server naming it other then WMF. And say check out this cool picture. Granted the user has to click on the link then, but tell me most users don't do that anyway?
Also, what about javascript? All the script has to do is call for the image to be loaded, not even displayed. The problem is much larger then just stopping sites from hotlinking images.
Your question is that it's a liability, I would say no. You didn't host nor did your site/staff post malicious WMF. But could your reputation suffer, of course.
i know, theres a lot of restrictions on what images can do and not included files, but i mean, images can do a lot of things. not only are there vulnerabilities in actual image files themselves, but its easy to create a php file with the extension ".png" and headers telling the browser it's a png file. then you just make sure you render a png image as the end result when the script is embeded with an image tag, and in between that you can do a lot of things. you can get IP addresses and other information and there are no doubt xss vulnerabilities as well, you're pretty much including a php file as if it was an image. there definatly are limitations, its not like you are just using a ?php in the webpaged linked, but there are plenty of vulnerabilities as well.
There's a new WMF exploit out to take the place of the one patched yesterday?
--
"Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
I can understand why you'd be concerned about the possiblity of your website serving exploit code to unsuspecting users. However, I'd like to point out that the problem is not unique to your site, nor does it only affect sites that allow users to post images. I've posted a writeup about a security incident I investigated that involved a malicious WMF being distributed through syndicated advertisements, and I know the same thing happened when the GDI vulnerability was discovered. The bottom line is that it's very difficult to lock down all the attack vectors for something like this, and your website is probably no worse than anyone else's at this.
Check out my eclectic infosec blog at InfoSecPotpou
Microsoft released a patch for this. Try again, Slashdot.
Not a Twitter sockpuppet... but I wish I was.
and welcome to slashdot.
.JPGs!
You seem to have missed some important information in the past few days. THE MALICIOUS WMFs CAN BE RENAMED AS
now, stop being such a dickhead.
I am of course a geeky nerdy never washing never getting laid linux user who hasn't had to worry about security alerts at all in 2005 (Check somebody elses post in one of the CERT stories where he shows that there have been no cyber alerts for linux in 2005) the last I think was in 2004 or 2003 relating to opensll or ssh.
MS response was idiotic and shows they totally do not care about their customers. In the best case they should have made it very clear to every windows user that browsing the net was dangerous and put out a simple patch that disabled WMF completly or at least put up a warning before a wmf like file is accessed even if it is a WMF disguising itself as a jpeg.
Oh but this could break existing products? WHO THE FUCK CARES? It is like worrying that cutting off the electricity and gas after an earthquake is going to make your icecream melt. The WMF exploit is a disaster and that means it is time for drastic measures.
Windows users should have been up in arms. Browsing the internet became a no-no even with non-porn sites. Only thing that has to happen is 1 person on forum having a exploit for their avatar image and bang.
I have seen several people being affected by this exploit. Sure some were stupid free porn sites surfers but not all of them. Just normally using their computer and BAM. Infected.
We have been getting a lot of comments from MS fanboys about how much stabler XP is and that MS is getting a lot more serious about security. HA. This WMF thing has shown that MS is still the same MS of old. Nothing has changed. A full week to patch exploit affecting all your users and the all the MS fanboys can do is sputter "They had to test it" yeah right. Oh well at least it seems that this time the patch actually works. That gotta be a first.
Oh well now to answer your question. There is nothing to do here but disable unchecked content on your website. That means you gotta host every image yourselve and make sure you check that it is what it claims to be in your upload code.
The MS patch won't change a fucking thing. An awfull lot of MS users never patch up so this WMF exploit will be with us as long as that code red crap and every other windows exploit. If I am ever diagnosed with an incurable disease and only have a few weeks left, gates is going to get a bullet in the head.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.
When you detect a Windows system give them a different app that strips out all the images for thier own safety and inform them of the fact (also mention that accessing the site via Mac or Linux, being more secure, allows image viewing). Why hide the fact from the user, it's thier computer at risk.
"Enjoy what you're doing! If it becomes drudgery, you're doing it wrong!" - Jim Butterfield
You want to craft a wmf thats shows this url http://www.microsoft.com/technet/security/Bulletin /MS06-001.mspx to users in need of help. Might oper for more legal trouble though...
'F' is for the Fear you won't have anymore.
'I' is for the Internet you love to peruse.
'R' is for the redundant mod this post will score.
'E' is for the Explorer you'll no longer use.
and..
'F' is for the Favorite of so many on the Net!
'O' is for the Open Source in "FOSS"!
'X' is for the Xtra plugins you're bound to get.
And that spells "FIREFOX": http://www.firefox.org/Tell your boss!
http://www.mozilla.org/firefox
n /MS06-001.mspx
http://www.mozilla.com/products/
http://www.opera.com/download/
http://www.opera.com/
http://www.theopencd.org/ Download the 650MB ISO image file and burn to CD share with your friends who have less bandwidth to the internet to install FireFox broswer and Thunderbird e-mail client on their Windows PC.
Make a WMF virus variant that pops open the http://www.mozilla.com/firefox/ website to give the user an opportunity to click "Install FireFox" for windows. Hey I did not force him to install anything, but just pointed it out.
Remember, Its the thought that counts! I was just making it easier for the end user to use his or her computer Virus free.
Fred
to fix this problem http://www.microsoft.com/technet/security/Bulleti