8 ms·
Google App Engine Java security sandbox bypasses
- _wmd 12y agoIt a pretty fair assumption to expect the Java runtime itself to be in an OS-level sandbox, Google would never treat that much native code as the last layer of security. The App Engine CPython runtime can also be subverted in a variety of ways, but about the most exciting thing you can trigger here is for the process hosting your code to immediately be killed.
- sauere 12y agoJust JVM things.
- arca_vorago 12y agoKeep in mind that Oracle is one of the companies actively working with NSA as per some of the Snowden leaks. I trust anything java based not at all. (on the more practical side)
- ddispaltro 12y ago"Never attribute to malice that which is adequately explained by stupidity." -Robert J. Hanlon Seriously, it's probably an issue with the Java Security Manager. This will no doubt help the JVM community be better.
- latchkey 12y agoMore accurately, Google's implementation of the Java Security Manager. The JVM running on GAE is modified by Google. This is why there is no Java 8 on GAE and probably never will be. It is a metric ton of work for them to port their changes to each new JVM release. Managed VM's are the new direction because now you just install the latest Oracle or whatever VM you want. https://cloud.google.com/appengine/docs/managed-vms/ https://cloud.google.com/appengine/docs/managed-vms/
- needusername 12y ago> This is why there is no Java 8 on GAE and probably never will be. Do you have sources for this? Java 7 on GAE took really long and eventually shipped only shortly before Java 8 was released. From history I would expect the same to the case for Java 8 on GAE. It will take years and ship around the time Java 9 is released. OTOH if Google created a maintenance horror for themselves by patching the fuck out of the JDK and Jetty (I don't think Servlet 3 is ever going to happen) I don't really have many sympathies for them.
- latchkey 12y agoNo, I'm just reading the writing on the wall. I'm just paying attention to things as I run a business on GAE. They didn't have such a strong focus on GCE and managed VM's before. It is clear with the release of the public beta of managed VM's, they want people to really test it so they can get it out of beta as quickly as possible. I imagine that most of the team that was allocated to work on GAE is now working on GCE and managed VM's. I'll be switching to managed vm's at some point in the near future (when I can find some time for it). They are also less expensive, which is nice.
- arca_vorago 12y agoI specifically thought that might be the case as I was posting, so apologies for the useless comment. I should have listened to my conscious on that one. That being said though, allow me to take the opportunity to express the utter disdain and contempt I have for the reference of Hanlon's razor. First off, any rule that uses the word "never" is already probably going to be wrong most of the time. Secondly, there are innumerable instances where stupidity would work in place of malice despite the fact that it was actually malice. I see it used almost exclusively by apologetics of some sort or another. It's a useless straw man of a logical fallacy not conducive to intellectual debate. It's official, Hanlons razor should be put into retirement and not used by anyone with a respect for logic and rationality.
- cakoose 12y agoI agree. It's a fun quote and has humor value, but it's the exact wrong stance to take when thinking about security. Stupidity is one of the most commonly used disguises for malice.
- tomjen3 12y agoThat quote is useful only for helping the obviously guilty avoid punishment.
- xxxyy 12y agoCan somebody explain me why GAE does not use virtualization as a security layer? Xen is a powerful, free, mature product that utilizes clever techniques along with hardware support to provide the best isolation layer yet available. AWS EC2 runs just fine on Xen, GAE seems to have lots and lots of hiccups.
- skybrian 12y agoWhat makes you think it doesn't?
- xxxyy 12y agoWell, that would be a lot of redundancy. Good isolation is hard to achieve (as proven by this post), why bother doing it twice? Is there any upside?
- Nitramp 12y agoDefense in depth. Have another failsafe if your first line of defense fails (as it will).
- nl 12y agoAppEngine (the PAAS) uses containerisation to isolate services. That both provides a security layer and allows resource control. This incident demonstrates the need for it. Additionally it isn't really redundant. AppEngine supports Python and Go as well as Java, and it makes sense to have a common isolation infrastructure.
- avz 12y agoWhat makes you think they don't?
- wmf 12y agoGAE appears to be an evolution of Google's internal platform which does not use virtualization. Why invest in learning about a technology that is very different from Linux when such knowledge would not benefit 99% of Google's workloads? Given the number of kernel developers at Google, if they want security I would expect to see them improve Linux rather than adding virtualization. Of course, Google now has virtualization (GCE) because some customers demanded it, but if GAE already works there's no reason to redesign it.
- julianpye 12y agoGoogle have a very good track record in security and that's the reason why GAE-J is my system of choice. I am ignorant on their bounty offerings though, but I would have assumed Google are state of the art there. Can someone fill me in on the background and intentions of Security Explorations?
- meowface 12y agoSecurity Explorations is a well-known security research company. Most of their research is related to Java. See: * http://www.security-explorations.com/en/SE-2011-01-press.html http://www.security-explorations.com/en/SE-2011-01-press.htm... * http://www.security-explorations.com/en/SE-2012-01-press.html http://www.security-explorations.com/en/SE-2012-01-press.htm... * http://www.security-explorations.com/en/SE-2013-01-press.html http://www.security-explorations.com/en/SE-2013-01-press.htm... * http://www.security-explorations.com/en/SE-2014-01-press.html http://www.security-explorations.com/en/SE-2014-01-press.htm...