Vulnerability In Java Commons Library Leads To Hundreds of Insecure Applications (foxglovesecurity.com)
An anonymous reader writes: Stephen Breen from the FoxGlove Security team is calling attention to what he calls the "most underrated, underhyped vulnerability of 2015." It's a remote code execution exploit that affects the latest versions of WebLogic, WebSphere, JBoss, Jenkins, and OpenMMS, and many other pieces of software. How? An extremely common Java library. He says, "No one gave it a fancy name, there were no press releases, nobody called Mandiant to come put out the fires. In fact, even though proof of concept code was released over 9 months ago, none of the products mentioned in the title of the blog post have been patched, along with many more. In fact no patch is available for the Java library containing the vulnerability. In addition to any commercial products that are vulnerable, this also affects many custom applications.
NIGGERS FOR SECURITY
DICEDOT IS FOR NIGGERS. Slashdot is for white nerds. DICEDOT IS FOR NIGGERS. Slashdot is for white nerds.
What else is new, if it's not fodder for hype and awe no one cares. This is a stupid premise for a /. story. This site has really gone downhill
This is a test comment only, please do not respond to to this comment.
Fifth post?
I heard from a friend you'd been messin' around
With a cute little thing I'd been dating uptown
Well I don't know if I like that idea much
Well you'd better stay clear I might start actin rough
You out of town guys sure think you're real keen
Think all of us boys here are homespun and green
But that's wrong my friend so get this through your head
We're tough and we're Texan with necks good and red
And it's Ki-yi-yippie-yi-yi
You long hairs are sure gonna die
Our American home was clean 'til you came
And kids still respected in the President's name
And the eagle still flew in the sky
Hearts filled with that national pride
Then you came along with your drug-crazy songs
Goddammit you're all gonna die
How dare you sit there and drink all our beer
It's made for us workers who sweat, spit and swear
The minds of our daughters are poisoned by you
With your communistic politics and them negro blues
Well I'm gonna quit talking and take action now
Run all of you fairies clean out of this town
Oh and I'm dog tired of watching you mess up our lives
Spending the summertime naturally high
ISIS is bombing passenger planes but this is all you nerds can think about. God I hope there's a war draft to get all you basement dwellers out front and center with the cold reality this nation faces. You cant build yourself a firewall from ISIS. You need guns, bombs and sweat equity in your nation's future survival. Sorry, nerds but sweat from masturbation does not count!
Left at the hands of their own failed social experiments, they will blindly blame some of society's most fortunate - some of those even are society's most generous, Libtard SJWs will protest lack of attention to an issue. If they aren't out being fascists and shoving their view of the world down everyone's throat, then yes perhaps they may take the time to patch their own Java runtimes. Alas, like the Dice story says - If it's not presented with bells and whistles, then the libtard SJW has no such energy to dally with trivial bugs. Too many suffer as victims to brogrammer oppression and buttsex shaming. Carpet munching is OK.
You are one of these stupid victims of the banksters, the weapons industry and McCain. Do a little research about who is behind ISIS and you will find that Ankara, Riad and some more Sunni-Mohammedic nations are behind this. ALL of whom are allies of the U.S.
Also, America sends shitloads of weapons into Syria, while pretending that these weapons do not fall into the hands of ISIS.
So, Mr Idiot, keep doing the victim for some powerful Mohammedic and Elite (Charles Battenberg and the Clintons got their cut from Riad as much as the Bushes) interests. Meanwhile we keep out of this scam and masturbate in front of our tablets. You can have a limb blown off in Arabia, if you want to further the interests of the corrupt elite.
Java sucks and is slower than C++ and magnitudes slower than C. I have no idea why anyone still uses this bloated, security ridden language paradigm. This is barely news as everyday Java vulnerabilities are found and exploited.
Your app needs to be accepting Serialized Java objects as input.
Yay.
Never seen that used in any project I was part of and if that would happen security concerns alarm would ring in pretty much any competent team.
Next story please
The linked article takes a lot of words to get to the point, which is that "WebLogic, WebSphere, JBoss, Jenkins, and OpenMMS, and many other pieces of software." will deserialize arbitrary user-supplied Java objects. To exploit that, you just provide a serialized class from commons-collections which (by design) executes the class's code during its deserialization process. If your application doesn't whitelist the classes it deserializes from an untrusted user, you deserve everything you get.
Is it because it doesn't exist? Because this is just yet another spew of lies from the anti-tech Republicans. They hate us and want us to die. They hate us so much they make me want to die, as I assume many of you do too. That is the way of their kind. Spew out a bunch of lies to destroy the lives of others. Lives of others.
Can you deal with the details, now ?
Because it has gotten a name.
Or is "Bad Coffee" better?
This must be 100% bullshit! JAVA is by design 100% safe and we all know it. Stop trolling!
You are an idiot
Well, nobody really exposes mentioned software to the internet, right? For instance, It is accepted as good practice to have nginx used a request router, which kinda lowers the impact of this exploit, or am I am wrong?
A bit old, but:
http://unthought.net/c++/c_vs_c++.html
http://news.softpedia.com/news/the-vulnerability-that-will-rock-the-entire-java-world-495840.shtml
This is an issue with how some users use a 3rd party library Apache Commons Collections. Java doesn't have to be fixed. And Apache Commons-Collection doesn't have to be fixed, except maybe stating the obvious...
Do not deserialize objects with executable code from the internet.
pr0gress. In 1992, ago, many of you
Just delete Java, seriously. Oracle is never going to keep it secure. Deleted from my PC at least two years ago for security reasons and have never looked back.
Is it so subtle and insidious that it is simply impossible to name? Or do you just not understand what you're reading?
[Here, let me give it a go: Basically apps blindly trust network input and let it run in their execution context.]
[[Though I suppose when you put it _that_ way, you can't spend your time implying that it's somehow Java's fault.]]
Here is an example of how to whitelist classes by subclassing ObjectInputStream: http://www.ibm.com/developerwo...
My Hello World is 512 bytes. But it's also a valid Fat12 boot sector, Fat12 file reader, and Pmode routine.
See subject: At least this was caught to be patched. That's the important thing (hopefully before it was or can be misused maliciously).
I code in it - but I don't *REALLY* like it. Not so much the code, it's close enough to C++ for me to be @ home with it. It's more the promises made about it (yes, it does do garbage collecting cleanup vs. having to potentially "delint" C or C++ code on new-malloc/delete - to dispose of memory or object references) but it's more the whole runtime slowup that bugged me... sure, it's nice to have that "crutch" to support you, but the runtime speed hits overheads always bothered me. Why?
That doesn't HAVE to be there IF/WHEN you do it yourself, manually, in code.
I have a job offer in fact for JAVA coding for a BIG finanicial concern in my area I've done contract work for before, but I've turned away from it for these reasons (I only work part-time nowadays is why too: Semi-retired): I don't want to be responsible for OR be involved with something that has a faulty trackrecord where big money is involved...
* Feel free to correct me if/when I made any mistakes here, I haven't had my coffee yet today... I don't express myself well & miss things in that case many times myself (& yes, I write "stream of consciousness" most times too, no edits) - & please - no "grammar/spelling nazi" b.s. for "corrections"...)
APK
P.S.=> This is part of what's biting Google in the behind using it on ANDROID imo (their version of java in dalvik - right there alone, NOT working with what exists & has massive "eyes on the code" hopefully correcting flaws in its base & compilers) - "the new hotness" always comes out with what's many times already resolved in the older stuff turning the new into "old & busted" & what was busted + fixed LONG AGO in the older stuff... apk
See subject: At least this was caught to be patched. That's the important thing (hopefully before it was or can be misused maliciously)...
I code in it - but I don't *REALLY* like it. Not so much the code, it's close enough to C++ for me to be @ home with it. It's more the promises made about it (yes, it does do garbage collecting cleanup vs. having to potentially "delint" C or C++ code on new-malloc/delete - to dispose of memory or object references) but it's more the whole runtime slowup that bugged me... sure, it's nice to have that "crutch" to support you, but the runtime speed hits overheads always bothered me. Why?
That doesn't HAVE to be there IF/WHEN you do it yourself, manually, in code.
I have a job offer in fact for JAVA coding for a BIG finanicial concern in my area I've done contract work for before, but I've turned away from it for these reasons (I only work part-time nowadays is why too: Semi-retired): I don't want to be responsible for OR be involved with something that has a faulty trackrecord where big money is involved...
* Feel free to correct me if/when I made any mistakes here, I haven't had my coffee yet today... I don't express myself well & miss things in that case many times myself (& yes, I write "stream of consciousness" most times too, no edits) - & please - no "grammar/spelling nazi" b.s. for "corrections"...)
APK
P.S.=> This is part of what's biting Google in the behind using it on ANDROID imo (their version of java in dalvik - right there alone, NOT working with what exists & has massive "eyes on the code" hopefully correcting flaws in its base & compilers) - "the new hotness" always comes out with what's many times already resolved in the older stuff turning the new into "old & busted" & what was busted + fixed LONG AGO in the older stuff... apk
I took the time to read up on how it works and write up an explanation of how it works for people who aren't Java programmers.
to write java code without too much damage. Getting them to write C++, not a chance.
Plus for a lot of stuff it's fast enough.
"Commons"? Fortunately, not universal. Naming a library "commons" does not make it part of the language. All those Apache Commons libraries share one thing: they are mostly collections of anti-patterns. Stuff that can often be done better without dependencies, with real standard libraries (part of the platform) instead of collections of trees of mutually-incompatible libraries that look as written by a lazy first-year student. They feature null checks that make it obvious that the lazy programmer that use them consider null and empty as equivalent, which should in itself raise red lights. At best, they reinvent the wheel, quite often in a bad way. Those dependencies are something you won't find in my projects, and the first thing I remove from projects that I have to take over. Whoever depends on this deserved those things. I'd need to read TFA more extensively, but is there any bug report open for the concerned app servers?
There are a lot of reasons to use apache commons beyond checking if a string is empty.
It was pretty darn hard to parse that article to understand what library the author was talking about, but after some research, the issue seems to be a vulnerability in the Apache Commons Collections library.
I don't understand why the OP calls it "Java commons" or why the author of the article goes out of his way to not mention the name "Apache", using it only when copying and pasting code lines but never stating it in prose. Sure, there are lots of people who may have Java, but if the security vulnerability is of the magnitude that is claimed, properly identifying where it is located would be the logical first step.
There is a somewhat better article at InfoQ.com that parses out the original article and describes it more clearly.
Is Java moping around the house in pajamas all day with insecurities and low self-esteem?
Do you call Java and it doesn't respond or responds with a sigh and a "I really don't feel like I can do it" error message?
CVE number or it didn't happen. https://en.wikipedia.org/wiki/...
The real fault seems to be in classes like AnnotationInvocationHandler or PriorityQueue (both part of the Java library), whose readObject() methods trustingly call some methods on their child objects.
AnnotationInvocationHandler calls map.entrySet(); PriorityQueue calls compare(). You just make sure the child object executes malicious code when executing those methods. For the child object, you can find a utility class such as LazyMap (from Commons) that executes a function while calling entrySet(). The function can be another utility class that executes some method by reflection (e.g. a Runtime method). These utility classes are all over the place to support functional-style or config-as-code programming.
But I think the real fault lies in those classes that execute child code during readObject(). It doesn't lie in the Commons classes that are used for the children.