News for hackers. Stuff that matters.
Re:Oracle knew about critical Java flaws since April by Joeboy on Thursday August 30, 2012 @07:30AM (#4454036)
Why is java still enabled in browsers by default anyway? Who would notice its absence in 2012?
Re:Oracle knew about critical Java flaws since April by hucker on Thursday August 30, 2012 @07:34AM (#4454047)
I don't know how it works in the US, but in Norway most online banks can only be accessed through a Java applet where you enter SSN, password and token-code. Extremely frustrating since whether it works or not in Linux seems like a function of the day of the week, and, well, it's a Java applet.
Re:Oracle knew about critical Java flaws since April by w1ntermute on Thursday August 30, 2012 @11:33AM (#4455102)
At least you guys don't have a system that uses ActiveX. That's how it is in South Korea[0], supposedly the world's "most wired" nation. You can only use IE, on Windows, to access online banking services. Things are slowly getting better thanks to the explosion of iPhone/iPad/Mac popularity in Korea (particularly the iPhone), but even now, IE has more than 91% market share in South Korea[1].

0: http://www.kanai.net/weblog/archive/2007/01/26/00h53m55s

1: http://blog.mozilla.org/gen/2012/05/29/browser-competition-i...

Re:Oracle knew about critical Java flaws since April by justincormack on Thursday August 30, 2012 @11:59AM (#4455228)
Indeed. This is a typical South Korean bank website[1]. I despair.

[1] http://www.globalibk.com/home.jsp

Re:Oracle knew about critical Java flaws since April by slig on Thursday August 30, 2012 @12:23PM (#4455352)
The page won't even show up.

    if(typeof(navigator.appName)=='undefined' || navigator.userAgent.indexOf("MSIE")<0)  {
        top.wgmain.location.href='about:blank';
        alert('Microsoft Internet Explorer 사용자만 사용가능합니다.');
        return false;
    }
Re:Oracle knew about critical Java flaws since April by jff on Thursday August 30, 2012 @12:45PM (#4455475)
Wow that Javascript sure is interesting, glad you pasted it three goddamn times!
Re:Oracle knew about critical Java flaws since April by slig on Thursday August 30, 2012 @01:03PM (#4455582)
Sorry. HN seemed to have chewed up and I didn't check my threads link to see if it had worked or not.
Re:Oracle knew about critical Java flaws since April by jff on Thursday August 30, 2012 @05:03PM (#4456792)
Yeah, my reply was rude--I'd delete it if I could but I guess I've passed the point of no return. I can certainly sympathize with software screwing you over.
Re:Oracle knew about critical Java flaws since April by w1ntermute on Thursday August 30, 2012 @12:19PM (#4455321)
Yep, they don't even let you access the site without spoofing your user ID. For example, for that site in Chrome you get:

> Microsoft Internet Explorer 사용자만 사용가능합니다.

Translation: Only Microsoft Internet Explorer users can use the site.

Re:Oracle knew about critical Java flaws since April by kalininalex on Thursday August 30, 2012 @12:31PM (#4455406)
We need a screenshot.
Re:Oracle knew about critical Java flaws since April by josteink on Thursday August 30, 2012 @09:11AM (#4454413)
Not debating the rest of your post, but not all Norwegian banks rely solely on BankID. Just clarifying that there is no national mandated standard here, just a system which banks can opt in on to use. And then they don't have to opt in fully or exclusively.

One example of one who manages to get authentication right, through HTML alone is Skandiabanken. No Java, nonsense or security pains required. They allow you to use BankID too if you like to, but you don't have to.

I prefer not to.

Re:Oracle knew about critical Java flaws since April by kjetil on Thursday August 30, 2012 @09:23AM (#4454455)
Or just use BankID for mobile or the BankID app for iOS, no need for applets.
Re:Oracle knew about critical Java flaws since April by vegardx on Thursday August 30, 2012 @10:17AM (#4454729)
Java is a never ending story of fun. I had a case where my grandma had issues logging into her online banking account, because the applet threw some sort of error response to her. Turns out that Chrome shipped with a newer version of Java than the banks accepted, and instead of telling her that, they threw an "You're running an old and outdated version of Java, please contact support"-error.
Re:Oracle knew about critical Java flaws since April by theatrus2 on Thursday August 30, 2012 @12:36PM (#4455432)
Chrome doesn't ship with Java, only Flash. Java has that pesky auto-update-Yahoo-toolbar-installer thing.
Re:Oracle knew about critical Java flaws since April by 0x0 on Thursday August 30, 2012 @05:44PM (#4457021)
Why is a (signed, therefore running without a sandbox, nonetheless!) java applet required for three text input form fields?
Re:Oracle knew about critical Java flaws since April by samuellb on Friday August 31, 2012 @07:32AM (#4459189)
Because the applet produces a digital signature from a cryptographic key on your hard drive. This is much more secure and scalable than sending the password, see [1] and [2].

An alternative solution would be to use an SSL client certificate[3] or the WebCrypto[4] API (still under development).

[1] http://security.stackexchange.com/questions/3605/certificate...

[2] http://en.wikipedia.org/wiki/Public-key_infrastructure

[3] http://www.mozilla.org/projects/security/pki/psm/help_21/glo...

[4] http://www.w3.org/2012/webcrypto/WebCryptoAPI/

Re:Oracle knew about critical Java flaws since April by rodolphoarruda on Thursday August 30, 2012 @07:56AM (#4454114)
We have the same scenario in Brazil.
Re:Oracle knew about critical Java flaws since April by franze on Thursday August 30, 2012 @08:07AM (#4454151)
well, in brazil you even have gbieh.dll - an undeletable, unkillable, always running, mysterious, "security" file/process from banco do brasil. http://www.file.net/process/gbieh.dll.html

that's even (slightly) worse than a java applet.

Re:Oracle knew about critical Java flaws since April by rodolphoarruda on Thursday August 30, 2012 @08:30AM (#4454241)
yeah, Banco Itaú has its own DLL too. http://rodolphoarruda.pro.br/d/dll.jpg
Re:Oracle knew about critical Java flaws since April by slig on Thursday August 30, 2012 @08:51AM (#4454337)
Can't tell if trolling or not. That's an URL and they can name it with whatever name they want (.dll, 1761,1238,196.htm, .php, etc), and has absolutely nothing to do with an actual process running on your machine.
Re:Oracle knew about critical Java flaws since April by ioquatix on Thursday August 30, 2012 @09:13AM (#4454418)
Why don't you just switch to another Bank?
Re:Oracle knew about critical Java flaws since April by b-man on Thursday August 30, 2012 @10:39AM (#4454845)
No so easy mate. Brazil has one of the largest bank concentration in the world, orchestraded of course by the central bank. We have the choice of 6 major banks, in this order of size -> Banco do Brasil, Itaú, Bradesco, BNDES, Caixa Econômica Federal, Santander

They are all highly regulated and with very little incentive to innovate. So they can screw around and do pretty much nothing at all. The fascist/socialist banking system that exists across the globe is even more pronounced here.

For those of you that can read portuguese, I recommend this article: http://www.mises.org.br/Article.aspx?id=1387

Re:Oracle knew about critical Java flaws since April by rbanffy on Thursday August 30, 2012 @12:56PM (#4455545)
Pretty much every bank in Brazil optimizes for its largest target audience. Since most of their account holders run Windows and Internet Explorer and are able to install a Java runtime, that's what they will go for.

I have accounts on three banks that work well with Ubuntu and Firefox. Only one of them mandates a Java runtime to be installed (and only enforces the requirement on Windows and OSX).

Re:Oracle knew about critical Java flaws since April by kmfrk on Thursday August 30, 2012 @10:04AM (#4454673)
This is why it's great when banks release iOS apps. So much crap you don't have to endure.
Re:Oracle knew about critical Java flaws since April by josteink on Thursday August 30, 2012 @04:33PM (#4456629)
Why iOS? It's the minority platform?

If you are to promote mobile apps, why not go for the big platform, Android?

Re:Oracle knew about critical Java flaws since April by bryne on Thursday August 30, 2012 @06:04PM (#4457116)
Fragmentation.
Re:Oracle knew about critical Java flaws since April by PostOnce on Thursday August 30, 2012 @07:50AM (#4454099)
Chrome asks for permission for Java to run, by default: http://support.google.com/chrome/bin/answer.py?hl=en&ans...
Re:Oracle knew about critical Java flaws since April by dminor on Thursday August 30, 2012 @11:20AM (#4455019)
Personally I think they should ship with 'Block All' as the default in the plugins settings.
Re:Oracle knew about critical Java flaws since April by TazeTSchnitzel on Thursday August 30, 2012 @11:42AM (#4455153)
I already have click-to-run turned on for Flash due to it screwing up page rendering in Chrome on Linux.
Re:Oracle knew about critical Java flaws since April by amanvir on Thursday August 30, 2012 @08:20AM (#4454197)
I think they should start doing that in Firefox too
Re:Oracle knew about critical Java flaws since April by justinschuh on Thursday August 30, 2012 @10:37AM (#4454835)
I talked to some of the Mozilla security guys about it back in February at CanSecWest, since we've been blocking out-of-date and dangerous plugins (more than just Java) for a while in Chrome. They seemed in favor of doing it, so it's definitely on their radar.
Re:Oracle knew about critical Java flaws since April by omh on Thursday August 30, 2012 @09:30AM (#4454496)
Firefox has a separate feature which can completely disable plugins which are known to be malicious or vulnerable. The current list is at https://addons.mozilla.org/en-US/firefox/blocked/

They've definitely used this to block older Java versions, but in those cases there was always a newer version available that you could use instead.

Re:Oracle knew about critical Java flaws since April by justinschuh on Thursday August 30, 2012 @10:55AM (#4454922)
Plugin management is actually a bit complicated, and in the case of Chrome we've had mulitple levels of it for years. The simplest is click-to-play, where the plugin is replaced with a graphic in the page that you can click to run it. This is the most convenient, but is vulnerable to click-jacking or other trickery. Then there's plugin blocking, which doesn't have the click-to-play weaknesses but is less convenient because you need to enable the plugin through a browser control (ie. infobar, page action, or context menu). Finally there's disabling, which just prevents the plugin from running at all.

For out-of-date and perennially vulnerable plugins (like Java) Chrome uses the second mode, which blocks the plugin unless the user accepts it through an infobar. It's not a perfect defense, but we've found it to be extremely effective at preventing exploits because the vast majority of the users don't let the potentially vulnerable plugin run. I'd really like to see this approach catch on more broadly, but other browser makers are understandably cautious about how they should handle plugins.

Re:Oracle knew about critical Java flaws since April by omh on Thursday August 30, 2012 @12:48PM (#4455499)
As a corporate sysadmin, I should say that the Chrome method is much better than the Firefox one.

We often have slightly out of date plugins, simply because it takes a while to get new versions tested and rolled out. When Firefox blocks them it breaks functionality and can cause a few awkward problems. Generally that just means that the user will use IE instead, so the protection is lost.

Re:Oracle knew about critical Java flaws since April by justinschuh on Friday August 31, 2012 @09:58AM (#4459703)
I wasn't aware the blocking worked that way in Firefox. We considered going that route as well, but in our testing the optional block was nearly as effective as fully disabling.
Re:Oracle knew about critical Java flaws since April by jackalope on Thursday August 30, 2012 @01:07PM (#4455610)
It's interesting that you don't mention uninstalling as a final option. Shouldn't the user have the ability to permanently remove a plugin from the browser?
Re:Oracle knew about critical Java flaws since April by justinschuh on Friday August 31, 2012 @09:56AM (#4459690)
Sure, but the user handles that through the OS, not the browser.
Re:Oracle knew about critical Java flaws since April by ZoFreX on Thursday August 30, 2012 @09:08AM (#4454401)
They are working on it - the feature exists, but isn't currently exposed through the GUI configuration as it has some issues.

You can go to "about:config" and enable the option "plugins.click_to_play" if you want to see it. I disabled it as it caused issues with Flash for me, but I've straight up disabled the Java plugin anyway.

Re:Oracle knew about critical Java flaws since April by slig on Thursday August 30, 2012 @07:49AM (#4454092)
There're some banks that still need them. The irony is that, since their applet is signed, the user must click and confirm that he trusts the thing every time. Hackers can leverage that users won't read a damn thing, they will just click next to build an applet with file system access. Why exploit flaws when users will simply click a trust your applet?

I don't trust my bank with a signed applet (why the hell do they need that?), so obviously I only access my internet banking using a VM.

Re:Oracle knew about critical Java flaws since April by rbanffy on Thursday August 30, 2012 @01:04PM (#4455593)
> I only access my internet banking using a VM

Smart thing to do. Also, you can make the VM disk reset itself to a base state on every boot.

Re:Oracle knew about critical Java flaws since April by raesene2 on Thursday August 30, 2012 @08:00AM (#4454131)
Most corporates that I've seen make heavy use of Java applet based software for internal software (and have multiple versions installed as a result). Also I've seen a fair number of administrative interfaces for IT kit that work via Java Applets...
Re:Oracle knew about critical Java flaws since April by driverdan on Thursday August 30, 2012 @09:41AM (#4454553)
I've had Java disabled in browsers for a long time and click to activate for other plugins. I've never noticed its absence.

I understand from other comments that banks in some require Java. I have or have had accounts or credit cards with nearly all major banks in the USA and many smaller institutions and none have required any plugins. Some require 3rd party cookies to use services like bill pay or ACH transfers.

Re:Oracle knew about critical Java flaws since April by abrahamsen on Thursday August 30, 2012 @10:43AM (#4454865)
Danes. It is used by the government electronic id system (nemid), and is the only way to e.g. make corrections to your tax returns (they are by default filled by the tax authority). Most government and many private (e.g. banks) institutions use it.

https://www.nemid.nu/om_nemid/about_nemid/

Re:Oracle knew about critical Java flaws since April by diminoten on Thursday August 30, 2012 @12:14PM (#4455302)
Then enable it for those sites. Defaulting to enabled seems like overkill.

On the other hand, I'm pretty sure my browser asks me every time it wants to run an applet, so I think that as current behavior is fine.

Re:Oracle knew about critical Java flaws since April by justincormack on Thursday August 30, 2012 @07:53AM (#4454107)
All those online meeting and screen sharing things that are so popular in the enterprise world...
Re:Oracle knew about critical Java flaws since April by amboar on Thursday August 30, 2012 @07:37AM (#4454053)
Yeah I don't even remember the last time I used a Java applet. I've disabled the plugins without any repercussions so far.
Re:Oracle knew about critical Java flaws since April by danielweber on Thursday August 30, 2012 @12:52PM (#4455521)
I have successfully avoided installing Java on many machines, even when installing browsers. The had to break down when it came time to build Android apps.
Re:Oracle knew about critical Java flaws since April by Jamiecon on Thursday August 30, 2012 @11:21AM (#4455022)
Anyone that wants to administer HP network gear via a web interface, to pick one example.

But yeah, I take your point.

Re:Oracle knew about critical Java flaws since April by zvrba on Thursday August 30, 2012 @01:15PM (#4455642)
Norwegians. The BankID system is used by many online banking systems for 2-factor authentication.
Re:Oracle knew about critical Java flaws since April by hoogaguy on Thursday August 30, 2012 @09:20AM (#4454442)
exactly my word.