Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: virus scanning uploaded images

by tye (Sage)
on Sep 16, 2004 at 04:04 UTC ( [id://391360]=note: print w/replies, xml ) Need Help??


in reply to virus scanning uploaded images

I think your computer sucks if it is running code inside of images, whether it is virus code or not.

We already ensure that uploads are always tagged as non-executable. That should be enough.

I could imagine a version of MS IE being so broken as to notice that a data stream tagged as "image/gif" actually is the data from an MS Word document containing a macro virus, for example. But I think even they've been burned enough and this would be such a blatant securiy hole, that I'm not worried about it happening (and even if it did, I wouldn't care if an exploit got uploaded -- the blame would be all on the idiots who decided to *run* *data*).

Update: Ah, buffer overruns. *sigh* I consider virus scanners the wrong solution to just about any problem. At level 5, the risk seems quite slim. I still vote 'no'. Now, an efficient image format validator would be a better solution here (so long as it doesn't have a buffer overrun bug in it...).

- tye        

Replies are listed 'Best First'.
Re^2: virus scanning uploaded images
by hossman (Prior) on Sep 16, 2004 at 06:41 UTC
Re^2: virus scanning uploaded images
by gaal (Parson) on Sep 16, 2004 at 07:05 UTC
      I think your computer sucks if it is running code inside of images, whether it is virus code or not.

    But computers do suck. And buffer overflows have been known to appear in software run on all sorts of operating systems.

    Update: ah, noticed your own update.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://391360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found