SOAP Security Problems
LarryWest42 writes: "This article lists a number of sobering security problems with SOAP (not only the avoidable one of tunneling through HTTP). I found it thanks to Bruce Schneier's latest Crypto-Gram newsletter."
← Back to Stories (view on slashdot.org)
Everyone who even pretends to be able to knock up websites, hack PHP and CGI scripts etc should be familar with REST; it's one of the core concepts behind the web.
The REST Wiki is a good place to start.
Well,
/getHistoricalStockQuotes?MSFT says to a security person: "okay, it's a GET. Barring tunnelling or a bug, it can't
:-)
.... back to the top of that article:
I forgot what FUD measn(only remember its something EVIL).
The article says something true: SOAP has no build in features for security.
But it is designed to be exactly like that!
My problem with the article at: http://www.prescod.net/rest/security.html is: it has simply to many false statements.
e.g. SOAP subverts HTTP's addressing model by hiding all of the data objects behind a component end-point interface.
This statement is simply silly: its up to you how many end-points you define. If you make one per method or one per component or any mixture is your descission.
A endpoint is basicly only a URI and the SOAP server has to cope with it and knows how the end-point is configured.
The SOAP server, long before the application, descides if a SAOP request can be routed to a specific end-point. What do you think why a end-point publishes its interface?
As a trivial example, GET
modify the server. Probably returning some kind of report for historical stock quotes. If there is tunnelling or a bug it isn't my fault. We'll fire
the programmer."
When he sees getHistoricalStockQuotes("MSFT") he says: "Hmmm. Probably returns stock quote. But can I be sure it doesn't modify
anything on the server? Maybe it's creating a new object that can be queried about different quote dates. If so, who is allowed to create
these objects? When are the destroyed? Can a malicious hacker leak them until the server runs out of memory? I better go read the
documentation for this thing because what it does isn't obvious at first glance. Maybe i better go find the programmer to make sure I
understand it."
Of course the two are equally simple: they both return a report. But one is very explicit about a promise not to modify server state. The other
is not.
This above is from the article.
Well, I only understand it so far that this is bullshit
What does the author like to say with that?
A HTTP GET request may modify the server?
Ah ha.
So a RPC or DCOM or CORBA request does *NOT* modify the server, or does guarantee it does not so?
Also: HOW, the heck should a SOAP service be able to create an other active object on the server and expose it via an external referable URI?
This is the sillist claim I've ever seen.
Consider this: how is a web server able to expose a new URI/URL to the external world for refferencing?
Get an idea? For SOAP the same restrictions apply.
Ah
SOAP uses a standard HTTP
POST method when it should use an extension method.
Wrong. SOAP can use the standard HTTP POST method and its up to the SOAP server if it accepts it or not.
The standard encaurages that applications using SOAP use the HTTP extension framework (M-POST).
After rereading that artice several times now, I'm getting tiered about the shallow level of EVERYTHING mentioned in it. As he mentiones Microsoft I asume he is mainly unhappy with their implementation or integration into Visual Basic.
Probably he should have a look on soap4j and the Appache/Tomcat SOAP extensions.
I realy would like to know WHAT the security isues with SOAP are.
Of course: the idea to tunnel SOAP through a firewall subverts the intention of a fierwall.
But the security problems are elsewhere.
A firewall easyly can say: oops thats not a request to a web page, I block it.
As the issue "security and SOAP" is very important IMHO, I realy would appreciate to get background infos and how to solve the issues WITH SOAP, not how to invent just another internet protocoll.
Regards,
angel'o'sphere
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
Except that I was referring only to the article and not to the spec, which I clearly stated in my comment. Which I'm sure you read from start to finish.