News for hackers. Stuff that matters.
Re:Is it Now Acceptable to Require JavaScript? by lincolnq on Friday June 25, 2010 @04:09PM (#1461959)
I use NoScript, which disables scripting (JavaScript and Flash plugins) by default in Firefox, but allows me to easily enable it for scripts which come from the domain of the site, or for all scripts on the page.

My general policy is: if I'm linked to an article, I should be able to read it without enabling JS. If I'm linked to a video, I should be able to watch it only enabling the Flash plugin. If these assumptions are violated I become offended and I usually press Back, unless I have a very good reason to need to see that content.

I am not offended by web applications which require Javascript, as long as they're linked to by a source I trust.

I won't enable Javascript for domains which I know only serve ads. I also won't enable Javascript if I think I'm on a "sketchy" page -- a page which I believe might have malicious code.

Re:Is it Now Acceptable to Require JavaScript? by roryokane on Friday June 25, 2010 @04:50PM (#1462093)
You’re saying you won’t enable JavaScript unless necessary. But why? What are you afraid of JavaScript doing? Issuing an endless supply of alert boxes? Changing the background color of the page every second? Slowing your computer to a crawl with an infinite loop? I don’t know any sites that do that. I know JavaScript can be used to facilitate the display of ads, but AdBlock can handle that without blanket disabling JavaScript. What’s the worst that JavaScript might actually do, based on the sites that are out there?
Re:Is it Now Acceptable to Require JavaScript? by bd on Friday June 25, 2010 @05:41PM (#1462277)
What’s the worst that JavaScript might actually do, based on the sites that are out there?

I'm using NoScript since I barely escaped from being infected by quite sophisticated malware few years ago.

Innocent site (local public transport) had had injected single malicious line into its content management system (most probably after untargeted "fishing for vulnerabilities" botnet scan). This one line was JavaScript include which in turn triggered series of jumps to servers all over the world (mostly China and Russia).

In the process, multiple layers of heavily obfuscated JS code were both loading hidden frames loaded with ads (presumably for click / impressions fraud) and trying to load hidden PDF embeds which contained a payload of hidden executables for infecting your local computer (exploiting Acrobat Reader security holes).

I only found out because Acrobat is such huge resource hog that I noticed and managed to kill it in a task manager before it finished loading.

I was using up-to-date Firefox and up-to-date antivirus AND I had disabled Acrobat plugin.

Upon inspection, malicious code appeared to be cross-platform and multi-target, using vendor specific JS extension. I remember besides Acrobat it was also targeting Silverlight (and this was in time when it was very new technology).

Re:Is it Now Acceptable to Require JavaScript? by lincolnq on Friday June 25, 2010 @05:03PM (#1462143)
Every browser exploit in the last few years that I've heard about requires Javascript enabled, except for history sniffing trickery.
Re:Is it Now Acceptable to Require JavaScript? by m0tive on Friday June 25, 2010 @05:16PM (#1462199)
This is the main reason I also use NoScript. Just today I saw two very tech savvy friends get caught out by a Facebook clickjacking attack. With javascript off on untrusted domains, it didn't work for me.
Re:Is it Now Acceptable to Require JavaScript? by sant0sk1 on Friday June 25, 2010 @05:21PM (#1462218)
Wasn't there a recent study that concluded that Flash was the source of over 90% of all vulnerabilities last year?
Re:Is it Now Acceptable to Require JavaScript? by lincolnq on Friday June 25, 2010 @05:45PM (#1462284)
I'm not sure, but NoScript also blocks Flash for me, so the outcome is the same.
Re:Is it Now Acceptable to Require JavaScript? by angelbob on Friday June 25, 2010 @05:52PM (#1462300)
Sure, but Flash is also straightforward to disable. It's not even installed by default in most browsers.
Re:Is it Now Acceptable to Require JavaScript? by code_duck on Friday June 25, 2010 @06:33PM (#1462408)
Flash and Acrobat were in the top 5, but I don't think Flash can take credit for a full 90%.
Re:Is it Now Acceptable to Require JavaScript? by theycallmemorty on Friday June 25, 2010 @05:01PM (#1462132)
There are more subtle ways to be annoying with JS these days. eg. Popping up a new window every time you highlight some text in an article. Or slowing the page load down while it highlights the key words on the page and turns them into annoying semi-popup links.
Re:Is it Now Acceptable to Require JavaScript? by india on Friday June 25, 2010 @05:06PM (#1462161)
For me it's mostly sites tracking way too much information at my end. It just creeps me out. Consider the kind of information tracked by google[1]. There is no way to dodge stuff like that other than noscript.

[1] http://entertainment.slashdot.org/comments.pl?sid=629659&...

Re:Is it Now Acceptable to Require JavaScript? by jessor on Friday June 25, 2010 @05:14PM (#1462191)
XSS should be noted here, too.
Re:Is it Now Acceptable to Require JavaScript? by adamdecaf on Sunday June 27, 2010 @12:54PM (#1465742)
Infecting malware, exploiting holes in the browser, storing data via local/session/appCache, tracking me (google analytics), loading flash, displaying ads, redirecting me to see an ad before the content...

The list goes on and on, sure you can do most of these without javascript, but by that point I've moved on and blacklisted your site.

Is it better to be overly secure, or underly secure?

Re:Is it Now Acceptable to Require JavaScript? by tcdent on Friday June 25, 2010 @05:07PM (#1462165)
If I'm linked to a video, I should be able to watch it only enabling the Flash plugin.

You do realize that due to a patent ruling a few years ago, these days almost all Flash content is placed after load with JavaScript to circumvent ActiveX's click-to-interact restriction. How often are you able to enable only Flash to view your content?

Re:Is it Now Acceptable to Require JavaScript? by lincolnq on Friday June 25, 2010 @05:19PM (#1462211)
Not often. But I can usually enable scripting for only the domain where the video is served (youtube.com) and then enable the one instance of Flash which looks like the content.
Re:Is it Now Acceptable to Require JavaScript? by ciupicri on Friday June 25, 2010 @10:12PM (#1462880)
What happens with libraries downloaded from the Google mirror?