CSS & Web Design Forum  

Welcome to the CSS & Web Design Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
WM Media Banner

Supporters
Pos Software - POS hardware and Software to track, control and manage your inventory.
Web Templates - BoxedArt is the most reliable source for unlimited template downloads.

Directory Submission
WL Marketing - Your #1 source for building links

Go Back   CSS & Web Design Forum > Web Design > AJAX, Javascript & DOM
Reply
 
Thread Tools Search this Thread Display Modes
(#1)
Old
Rick Brandt
Guest
 
Default Possible for Script to Deliver a Virus? - 05-15-2007, 09:22 PM

I've done some Googling on this, but can't find anything definitive looking
that isn't ancient.

The issue is whether the simple act of viewing an HTML page that contains
script or viewing an HTML Email message that contains script is (in and of
itself) enough to infect your machine with a virus.

I know that there were a few rather exotic methods used in the past to
exploit vulnerabilities of IE and/or Outlook/Outlook Express that required
only viewing to be infected, but even those weren't specifically delivered
by script were they? My understanding is that they used specially encoded
graphic objects or similar.

I know that script can do things that are irritating (spawn windows and
such) but I fail to see how they can actually do anything harmful to the
local system. Note that I am not talking about a script attachment that a
user might double-click. Only the script that would run just from viewing
the HTML content.

If it is true that this is possible, would one have to be running fairly
antiquated client software to be in danger?

TIA


Reply With Quote
(#2)
Old
gimme_this_gimme_that@yahoo.com
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-15-2007, 09:22 PM

In XP, if the user's security settings are set to low, and if the user
is an Administrator ... A HTML (or rather an HTA file HTML-look-
alike) can do about anything the author wants.

Reply With Quote
(#3)
Old
David Gillen
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-16-2007, 12:04 AM

Rick Brandt said:
> I've done some Googling on this, but can't find anything definitive looking
> that isn't ancient.
>
> The issue is whether the simple act of viewing an HTML page that contains
> script or viewing an HTML Email message that contains script is (in and of
> itself) enough to infect your machine with a virus.
>

Yes it is.
But, most of these kind of security holes are fixed very quickly. If you keep
your software (browser, mail client, etc) up to date you should be relatively
safe. Or use a non windows OS, which while neither 100% is far far less likely
to be subject to the same invasive techniques used by the low lifes who
develop such attacks.

D.
--
Fermat was right.
Reply With Quote
(#4)
Old
Lee
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-16-2007, 12:04 AM

gimme_this_gimme_that@yahoo.com said:
>
>In XP, if the user's security settings are set to low, and if the user
>is an Administrator ... A HTML (or rather an HTA file HTML-look-
>alike) can do about anything the author wants.


An HTA has to be executed from the local system.
If you can be talked into downloading a file and clicking on it,
then you're vulnerable to all sorts of things, most of which
have nothing to do with computers.


--

Reply With Quote
(#5)
Old
Rick Brandt
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-16-2007, 12:04 AM

David Gillen wrote:
> Rick Brandt said:
> > I've done some Googling on this, but can't find anything definitive
> > looking that isn't ancient.
> >
> > The issue is whether the simple act of viewing an HTML page that
> > contains script or viewing an HTML Email message that contains
> > script is (in and of itself) enough to infect your machine with a
> > virus.
> >

> Yes it is.
> But, most of these kind of security holes are fixed very quickly. If
> you keep your software (browser, mail client, etc) up to date you
> should be relatively safe. Or use a non windows OS, which while
> neither 100% is far far less likely to be subject to the same
> invasive techniques used by the low lifes who develop such attacks.
>
> D.


Just to clarify though. Can anything you're describing be done with plain old
Javascript or does it require some sort of exotic exploit?



Reply With Quote
(#6)
Old
Erwin Moller
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-17-2007, 07:16 AM

Rick Brandt wrote:

> David Gillen wrote:
>> Rick Brandt said:
>> > I've done some Googling on this, but can't find anything definitive
>> > looking that isn't ancient.
>> >
>> > The issue is whether the simple act of viewing an HTML page that
>> > contains script or viewing an HTML Email message that contains
>> > script is (in and of itself) enough to infect your machine with a
>> > virus.
>> >

>> Yes it is.
>> But, most of these kind of security holes are fixed very quickly. If
>> you keep your software (browser, mail client, etc) up to date you
>> should be relatively safe. Or use a non windows OS, which while
>> neither 100% is far far less likely to be subject to the same
>> invasive techniques used by the low lifes who develop such attacks.
>>
>> D.

>
> Just to clarify though. Can anything you're describing be done with plain
> old Javascript or does it require some sort of exotic exploit?


Hi,

A bit of both often: an exotic exploit using JS.
As with most bugs/securityholes, the problem was not obvious to the
developers: Bufferoverflows and such.

If you want to know about all details, I think Mozilla/FF have public
accessable bugtrackers with comments.
IE/M$ probably fix their stuff silently (if they fix it at all) with minimal
comments about the securityhole.

You can find more info and usefull links at developer.mozilla.org.

Hope that helps.

Regards,
Erwin Moller
Reply With Quote
(#7)
Old
stephen.cunliffe@gmail.com
Guest
 
Default Re: Possible for Script to Deliver a Virus? - 05-17-2007, 07:16 AM

It also depends on your interpretation of the term "virus".

In IE, with JavaScript, you can do all kinds of "not so nice stuff"...
fill the user's autocomplete with pr0n entries, submit pages silently,
initiate downloads, etc.

The main trick is, that most is relatively harmless.. unless you click
"Accept" when something pops up... but, JavaScript in IE, does have
access to the file system (if you allow it)... thus if you do manage
to comprimise the security settings in IE, with a crafted page, there
is a chance that you might be able to call the file system functions,
without the security checks in place. Its a big if, but.. it is there
waiting to be exploited, should someone get in that far.

In IE7, things are :"said" to be safer... but from my regular IE7
updates,... i'm not convinced yet... ;-)

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Hosting at Triple.com
vBulletin Skin developed by: vBStyles.com

Printing Company  Link Building Services