Submitting a review for consideration is easy; please first read Slashdot's book review guidelines. Updated: 2008114 by samzenpus
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the Poster. The Rest © 1997-2010 Geeknet, Inc.
ASCII Delimited Security Issues (Score:2, Insightful)
Re:ASCII Delimited Security Issues (Score:5, Insightful)
Too bad these developers don't know how to write good unit tests... This could have been avoided..
That's unfair. I'm all about unit tests and they do help find bugs, but a unit test isn't going to find a precisely-crafted piece of malicious input.
Parent
Re: (Score:2)
Re:ASCII Delimited Security Issues (Score:5, Funny)
A properly written unit test might have a chance of finding it if you take the approach of writing your unit tests by looking at how the function can fail.
I prefer not to find my bugs...
Parent
Re: (Score:2)
Maybe he is in the hotel business.
Re:ASCII Delimited Security Issues (Score:4, Informative)
XML in itself is sometimes a denial of service with strange side-effects.
As soon as you insert XML that isn't well-formed into a XML parser it will barf in one way or another. And then you will have to dedicate hours to figure out which tag/data in a 200kB XML request that was the culprit. If you are lucky you get a parsing exception, if not you get a Null pointer exception or an infinite loop in the parser.
Parent
Re: (Score:3, Insightful)
Re: (Score:3, Interesting)
Refusing to handle invalid input isn't denial of service. Also, I haven't seen any XML parser that would give you a null pointer/reference exception on invalid input. In fact, all that I've used will give the exact line/column number at which error happened.
Re: (Score:2, Insightful)
It's just as easy to fuzz a binary-encoded protocol, it just doesn't require specialized tools. Ever heard of TCP/IP-based DoS attacks?
Re: (Score:2, Insightful)
i just built firefox-3.5.2 from the sause (Score:2)
Re: (Score:2)
Re: (Score:2)
So... Gentoo users are screwed?
--- Mr. DOS
Article?? (Score:5, Insightful)
Re: (Score:2)
Re: (Score:2, Informative)
I think they infact did it in very responsible way. If you read the CERT advisory and everything, it seems they have worked good part of the year with the industry and CERTs to make sure these problems are actually fixed before letting ppl know!
Re: (Score:2)
I was thinking the same thing. The article was just too light on details. Even if I wanted to test my systems and even fix them, I wouldn't know where to begin. The article also doesn't mention if the people at Sun, Apache, Gnome, etc. were informed of the specifics of the vulnerability.
Since XML is handled by these projects using libraries (libxml2 in Gnome and Xerces, Xerces2 and Xalan for Apache), wouldn't fixing these libraries effectively fix the "millions of these applications"?
Example (Score:2)
Google for "billion laughs".
Re: (Score:3, Funny)
I've included a simple demonstration below - if your browser doesn't contain the flaw then you'll just see the literal XML exploit code (all 200+ lines of it), but if it's vulnerable then you'll only see the initial trigger element on either side of Cmdr Taco's favorite topic.
<\0pwned>OMGPonies!!11one!<\0pwn3d/>
Why is Python excluded from Title? (Score:5, Insightful)
1st Line of Summary = Sun, the Apache Software Foundation, the Python Software Foundation and the GNOME Project
Re:Why is Python excluded from Title? (Score:5, Funny)
Because pythons are long and big and will not fit the title.
Parent
Re: (Score:3, Insightful)
Because pythons are long and big and will not fit the title.
You should get the extra mod point on top of the current 4, just for the fact that your /. name has the word 'snake' in it.
Re: (Score:3, Interesting)
Also, the linked article and the news on the Codenomicon website don't mention GNOME.
Solution (Score:2, Insightful)
DoS? (Score:2)
could result in successful denial-of-service attacks
Ah yes, but could it result in successful denial-of-cellphone-service?
Which XML libraries? (Score:4, Insightful)
Which libraries? libxml2, expat, or some other library?
The last I'd checked, Python could use several XML libraries, and Sun distributed several libraries.
It would be nice if TFA had told us which libraries, or had a link to the actual report listing them.
Re: (Score:2)
Considering GNOME is affected, it's probably libxml2 [xmlsoft.org].
Array bound checking? (Score:2)
Is this another Array bound check not being performed? Another I'm copying huge chunks of weird characters into memory and overwriting crap?
With all the extra horspower can we not get a something added to C++ to make this happen?
DOSs seems harder to fight against. Is it bad code that loops for ever or is just not optmized. I bet most libraries could be found to have some of that.
XML... (Score:2, Interesting)
See signature.
random gibberish to make lameness filter happy.
Re: (Score:3, Interesting)
I would if the slashdot UI would have a link or button on the page to view the signature of individual messages.
Someone just rediscovered XML Entity Attacks (Score:4, Interesting)
It's difficult to say from the information provided, but it sounds like someone just rediscovered XML entity attacks (as I did a few years ago). Assuming it is the same thing, here are some references from 2002 and 2006 with more details:
http://www.securiteam.com/securitynews/6D0100A5PU.html [securiteam.com]
http://www.sift.com.au/assets/downloads/SIFT-XML-Port-Scanning-v1-00.pdf [sift.com.au]
I've used these attacks in real-world tests and they are still surprisingly effective - just not new.
Re: (Score:3, Interesting)
You'll probably getted tagged 'troll' for that, but I'll bite.
It's not that open source is not susceptible to these things (all software is). But with open source, these things are usually found more quickly, and are generally patched/fixed more quickly. I don't have statistics to support a statement that critical errors like this happen less often with open source, but I would have no trouble believing that.
Open source is usually more transparent about the problem, too. Many closed source vendors hide thes
Re: (Score:2)
to the grandparent only: if you dont see the advantages of Open Source software to all users be it commercial or personal then you are not a user yourself and
Re: (Score:2)
to the grandparent only: if you dont see the advantages of Open Source software to all users be it commercial or personal then you are not a user yourself and are just a corporate type with the corportista mindset, i got news for you = money is not everything and people will go out of their way to get your greedy little paws out of their pockets.
So, if I need Photoshop as part of my job to feed my family, I'm just a corporate type with the corportista mindset and I should either switch to Gimp and pull my hair and lose time and clients or let my family starve?
Whatever happened to using the right tool for the job, instead of letting zealotry take over?
Re:Open source (Score:5, Informative)
Also, fuzzing discovers DoSes. But many DoS attacks turn into vulnerabilities in the hands of a skilled hacker, and it's generally not safe to assume that a DoS is unexploitable without extensive code analysis.
Parent
Re: (Score:2)
it works quite well and generally doesn't require the source code.
But here, since it's open source, we don't have to rely on coders in a white tower to patch the code directly or someone to hack an intermediate patch. We can start looking right away.
Re: (Score:2)
Couldn't you have at least waited until a linux fanboi didn't understand the summary and made a dumb comment?
All that aside, the way these projects' being open source will make this better is by making a patch come out sooner. The community knows there is a problem. Someone will get on finding it right away, and in a day or two we will see patches getting pushed out that fix it. There's no sitting around helplessly hoping we don't get DoSed until someone at MegaSoft Corp. decide
Re: (Score:2)
All that aside, the way these projects' being open source will make this better is by making a patch come out sooner. The community knows there is a problem. Someone will get on finding it right away, and in a day or two we will see patches getting pushed out that fix it. There's no sitting around helplessly hoping we don't get DoSed until someone at MegaSoft Corp. decides this is worth fixing and rolls a patch.
This is because the Community has unlimited volunteer resources available on very short notice, and large corporations with many paid full-time employees do not.
Re: (Score:2)
Re:Open source (Score:4, Informative)
Think "
I wonder if [google.com] these vulnerabilites could have [google.com] been found earlier [google.com] if the code was [google.com]open source [google.com]."
Parent
Re: (Score:2)
Hey man, you did "adobe xml vulnerability" twice!! Admittedly, their security record is appalling, particularly as of late, but still, play fair ;)
More seriously, an article comes out about multiple XML vulnerabilities in multiple open-source XML libraries and your immediate reaction is to rush out and try and shine the light on XML vulnerabilities in closed-source code?! How about you first wait to find out the severity of the exploits in the open-source software, and equally importantly, how long they hav
Re: (Score:2)
Re: (Score:3, Insightful)
Re: (Score:3, Funny)
You think I've come to the right place?
Re:And they said XML was easy to parse (Score:4, Insightful)
Parent
Re: (Score:3, Informative)
Except CSV isn't a standard.
The IETF [ietf.org] might disagree with you.
Re: (Score:3, Informative)
Except CSV isn't a standard.
The IETF [ietf.org] might disagree with you.
"This memo provides information for the Internet community. It does not specify an Internet standard of any kind. "
Re: (Score:3, Insightful)
Re: (Score:2)
CSV FTW.
What happens when your data contains \r or \n characters? (I know Oracle's sqlldr / external tables at least will reject that row, and I don't believe they recognize any escape sequence for this.) What happens if the data has commas in it, and the .csv was generated by something that doesn't add quotes?
What do you do if your data is more complicated than a simple table?
Re: (Score:2)
If Oracle doesn't support that, then I would say their implementation is broken.
I'd just suspect it's more than 4 years old (hmm, looks like the 10gR2 we're using was actually released in 2005, and that RFC is dated October 2005). The "standard" is "this seems to be what most people are doing" rather than "here's the definition of a cool new format".
Clearly, you can represent tree style data with CSV, but it has more flexibility than you think.
Hm, cool. Also, ick.
Too many people roll their own CSV, because it seems so simple. Then they don't quote and escape quotes properly blaming any issues on garbage data.
...and then I have to tweak it into the csv dialect that Oracle understands.