Latest Java Update Broken; Two New Sandbox Bypass Flaws Found
msm1267 writes "Oracle's long security nightmare with Java just gets worse. A post to Full Disclosure this morning from a security researcher indicated that two new sandbox bypass vulnerabilities have been discovered and reported to Oracle, along with working exploit code. Oracle released Java 7u11 last Sunday and said it fixed a pair of vulnerabilities being exploited by all the major exploit kits. Turns out one of those two bugs wasn't completely patched. Today's bugs are apparently not related to the previous security issues."
Someone, please put Java in the browser out of our misery.
Java's had issues with reflection before: http://stackoverflow.com/questions/3002904/what-is-the-security-risk-of-object-reflection .
Considering that reflection is basically injecting code at runtime, I'd say most things in the Java world don't need it, not sure if it's on or off by default, but in 99% of scenarios I believe it should be set to off.
Of your corp must need ot then downgrade to Java6 which is not effected by the latest exploits and disable it in your browser except for whitelisted sites in your intranet zone in IE.
Oracle appearently cant code their way out of a paperbag but Sun wrote Java 6. Not to say that release is secure but at least less flaky and doesnt have the same flaw as 7.
http://saveie6.com/
Is Google's Dalvik virtual machine available for PC or just Android? Perhaps a little competition is needed.
who cares? java does not belong in the browser, javascript does not belong on the server. end of story.
Oracle should deprecated the browser plugin. It is the new ie6+ActiveX... Let the vendors repackage theirs applets into jnlp application were you have to accept before allowing execution.
Whoops!
I wonder how many of these vulnerabilities will be found and identified before the top brass at Oracle starts questioning the logic in buying Sun. Could Oracle realistically just come out and say "you know what.. we're done with Java"? Is Oracle really this inept at making stuff secure?
I mean, fixing security vulnerabilities is never good for business.. at all. You spend money fixing something that doesn't affect you directly but definitely affects your customers(which indirectly affects you). It's developer time that could have been spent on the next version's new shiny feature. Not to mention you aren't going to sell your product by saying 'We fixed XYZ vulnerabilities in the last 2 years". Anytime a company name is used in the same sentence with "new vulnerabilities discovered" is also not good for said company.
When the last topic about these vulnerabilites was posted I mentioned how I don't trust companies with my security any more than I have to and mentioned that my firewall is now pfsense since Linksys, Netgear, and Dlink don't seem to be interested in security without buying a new router every 2 years. Naturally I got modded down. Let's see how this goes this time...
I still find it odd how Java suddenly caught all the attention regarding security.
Oracle need to be called out on what appears to be an open-and-shut case of negligence.
Only a complete idiot would take on Java and it's 600 million users without making some kind of plan for supporting it. Their approach so far has been unbelievably reckless.
I certainly hope they don't take that attitude to Oracle Database, which is very expensive indeed, and running inside companies with lots of well paid lawyers.
Since your programmers can't seem to code their way out of a wet paper bag, perhaps you should spend less time on your yacht and more time actually running your company.
Sincerely, everyone who's time you waste with shit software.
While admittedly this could reasonably qualify as news for nerds, the exploits that are being discovered in Java these days are happening with such rapidity now that it truly seems like a complete waste of time and effort to report them all individually. They are so frequent now as to border on spam.
File under 'M' for 'Manic ranting'
I'm not familiar with the architecture, so I have a hard time understanding why this is so difficult. Many C programmers including myself have written simple stack machines that have an "instruction set". It's trivial to separate safe instructions from dangerous ones
One instruction might be 32-bit unsigned addition that rolls over without throwing an exception. Perfectly safe, as long as you can live with the results.
Another instruction might be "open file". Lots of opportunity for mischief there.
So. If the code came from the 'net, you just scan the code after you've compiled it onto your VM and reject anything that has "open file" unless the user has granted permission for the software to access files.
Sure, I'm glossing over the details; but that's the basic idea. If you have a huge library, you might have to have staff review a lot of API calls to make sure you're classifying them properly as safe or dangerous; but the fundamental idea of the sandbox itself seems really, Really, REALLY hard to mess up.
It sounds like they have calls to a "cause the scanner to ignore dangerous functions" API scattered throughout their code, which seems highly unlikely. Library code shouldn't even know it's running after a scan, let alone have the ability to shut off the thing that scans it.
So. I have to conclude that the sandbox architecture is something more complicated than "compile, scan for restricted system calls, run if none found"; but I have no idea what it is. Can anybody enlighten me?
For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
I understand how a sandbox vulnerability could lead to malware being installed on the machine. But that malware still has to then exploit an OS-level security hole, right? The reports make it out that somehow the Java vulnerability allow complete take over of the machine. So I'm confused why the Win7, OSX, etc Access Control mechanism doesn't prevent the potential damage. Or is this specifically targeting users who for example are logged in as admin on a Win box and have explicit approval of system changes via ACL disabled?
Adobe is gonna get jealous.
Sig Follows: "Suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself." -- Mark Twain
I understand how a sandbox vulnerability could lead to malware being installed on the machine. But that malware still has to then exploit an OS-level security hole, right? The reports make it out that somehow the Java vulnerability allow complete take over of the machine. So I'm confused why the Win7, OSX, etc Access Control mechanism doesn't prevent the potential damage. Or is this specifically targeting users who for example are logged in as admin on a Win box and have explicit approval of system changes via ACL disabled?
So sick of these headlines. Java is fine, it's the barely-used-these-days plugin that's the problem. I expect non-techy sites to omit that detail, but come on /.
For those preaching that Java should be donated to Apache, give me a break. It's at the core of all "Enterprise Applications'" tech stack. Never gonna happen, nor should it. Best solution would be to decouple the plugin from the Java install and no longer shove it down people's throats.
I've said time and time again that Oracle doesn't get security, they just don't. They have been pulling things like this for a very long time. I never could have imagined saying this 10 years ago or so, but Oracle, you need to look at Microsoft for some pointers on handling security. Since you probably not willing to do that, I'll spell it out for you:
When you find out about a notable security flaw you need to have a patch ready to go within 60 days.
Meaningful notification. The everyday hacks that run IT need to have reasonable notification of security flaws.
Workarounds. If you can't fix it, that's fine, but give me a workaround or I'm going to start uninstalling your product.
How does it the flaw work? If you can't tell me how it works it means I have to reverse engineer it myself and this annoys me.
The difference between theoretical flaws and something that is broken beyond saving is typically 8-10 years.
The bad guys make a lot of money by counting on you dismissing security concerns.
You need to make it easier to administer updates to your products.
You need to make it easier to limit updates to your products. Why does Java 6 automatically update to 7? This is a bad, bad thing.
From a security standpoint I can't think of anything I would wish for more than the death of Java. Every chance I have to get rid of Java I put in my two cents to do exactly that.
... these updates and stuff are not fun.
Java JDK Alpha and Beta (1995). So that puts y'all at about 35, right? Just about ready for the glue factory. Don't worry. They'll come for you dot net / C Sharp burnouts in the next load. Kids are out of diapers, there's some equity in your house and the wife is unhappy, right?
Must mean there is some new 6th generation, socially enabled, no programmers needed, wundercoding coming, along with a new silver bullet development methodology and magical management philosophy, going to pop out of nowhere in the next few months.
Oracle need to be called out on what appears to be an open-and-shut case of negligence.
Only a complete idiot would take on Java and it's 600 million users without making some kind of plan for supporting it.
Have you seen how Oracle supports its other products? Or more importantly, how much it charges for support for its other products?
The only thing broken here is the Java browser plugin made by Oracle, which has no use whatsoever outside of museums. Java is not broken.
0x or or snor perron?!
No, not video conferencing, you can't. Not until WebRTC is ready.
Why do you keep referring to the latest release as a patch and a bugfix? The only change was in configuration - while before you could run unsigned applers, now you can only run signed ones. No patching / clever bugfixing was involved. And in response to commenter suggesting putting Java-in-browser out of misery, the last 'patch' was designed to do just that. The only way to decently run an applet is to have it signed by expensive code signing certs.
These Java exploit announcements are becoming too frequent.... at some point it stops being news and starts being a waste of bandwidth.
File under 'M' for 'Manic ranting'
Boring, reliable, Teutonic C++ code. No installation required. Get rid of WebEx.
By means of Macros or templates, you could do the same in a "strongly typed" language.
Yeah, Macros are good, provided you expand them on disk for inspection, debugging and easy tracing of compiler errors.
..how you Java fanbois spin it now. "Our formerly major feature is now depreciated".
The truth is, Java was a stinking hairball laced with the bullshit of McNealy from day one. Long on marketing, extremely short on reliability, security, efficiency. A cheap language for cheap people. A vehicle to sell RAM modules.
Grownups use something else, not including C#.
It doesn't make much of a difference that the user isn't root/Administrator, or that the exploit fails to get root/Administrator.
The applet running as the user outside of the sandbox gives:
* access to that user's files
* access to other machines on the network
* persistence - install an executable into ~/.profile on Unix-based systems or HKCU/...../Run on Windows.
The home directory is also where Firefox and Chrome store user extensions.
I don't know if MS has changed it recently, but traditionally, all users run as a member of the Administrators group which has practically full access to everything (and can certainly escalate itself to get access it wants). Even when running as a member of Power Users (and I would think very few people run below this because they can't install anything), you can cause considerable damage.http://developers.slashdot.org/story/13/01/18/1838243/latest-java-update-broken-two-new-sandbox-bypass-flaws-found#
It's time to go back to real life!
C/C++
Why has it taken so long for people to realize the java plugin is one of the biggest gateways to malware. I've seen more people get malware via the java updater than flash. There is no need for a java client side plugin. Java is good for the server side stuff. No one even uses it for client side anymore. Get rid of it. When was the last time any of you had a need for some client side java applet in your browser? Maybe for some old legacy enterprise junk.
The reports make it out that somehow the Java vulnerability allow complete take over of the machine
That does not happen. The browser runs with user rights which means it can do anything a user can do. Since you do not want a web site to read your local documents the browser does not offer this functionality in its javascript API, java itself however offers this as part of its standard API so it needs an aditional sandbox when run in the browser . The exploits first bypass this sandbox and then disable it to run whatever malware they want.
Difference:
Sandboxed: can read/write user selected files (using the java file dialog) and connect to its originating server
Not sandboxed: can read/write arbritary files, start programms and connect to any server (basically limited to what the user can do)
I think the issue is that on singe-user/family machines all the personal data is accessible to the user anyway. Malware can have itself start up when the user logs in and access address lists, obtain passwords and so on. For many users an infection of their user space will be indistinguishable from an infection of their OS, and as many won't understand the distinction even when it's explained to them it appears news media, including those focusing on IT, don't seem to bother to make it anymore. Sad, really.
Other inaccuracies: Java Plugin != Java (as already pointed out), and Java is talked about as if only one implementation exists. The OMG Java is Bad type of "news" never seems to mention OpenJDK+Icedtea-plugin as an alternative. As a consequence I'm not sure how vulnerable that combination is (and I never went through the trouble to find out because the only applet important to me crashes Iceweasel when I use that anyway).
to ask people to install ask.com toolbar when they carelessly go through the update. Every idiot I know has ask.com toolbar installed, they have no idea how they got it or what it does, and they don't understand that it redirects their searches to their own shitty web site. It's disgusting, and it's disgusting that Oracle benefits from this.
Rest assured, because you have a Norton security software product installed on your computer, you’re protected against the Java bug (CVE-2013-0422), as long as you have not disabled the automatic updates feature. We also recommend that you apply Oracle’s recently released security patch and make sure you are running the most updated version of Java. Thank you for being a valued Norton customer.
I am so glad I have protection.
SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
Release it as OpenSource and let some smarter people do the job.
They already f*cked up OpenOffice and MySQL so both had to be forked - resluting in LibreOffice and MariaDB.
Not to mention this Oracle Vs Android thingy....
How incompetent can a single company be?
My work has group policy that removed all Java from everyone's computers. We still didn't get it back so it seems that our IT is cautious enough that they didn't jump on the first patch they saw as an opportunity to give everyone their Java back.
But the quickness of the exploit poses a question to my mind: how much can hackers exploit a system before people just stop using the system? Especially with things like programming languages/frameworks chances are there is an equivalent solution to your problem that runs on a different framework. So how vulnerable can something like Java be before everyone just stops using it to develop there software? I think there must be some sort of equilibrium point where you can hack the system but no so frequently that people completely give up on it.
They're trying to figure out a better way to get that Ask toolbar installed. I know it.
Please don't yell on Java but instead yell on the plugin builders and browsers' handling of plugins. Browser application/native plugins are obsolete and inherently unsafe. If a company cannot come up with a decent JavaScript/HTML5 site, preferrably working over SSL, the site is not trustworthy and should not be visited. Java is a very stable and excellent performing language for real applications and specifically server applications. Though Oracle is wokring hard to alienate the Java world...