Slashdot Mirror


Revealed: Chrome Really Was Exploited At Pwnium 2013

Freshly Exhumed writes with an "inconvenient truth" as reported at Internet News: "Google Chrome running Chrome OS was hailed as being a survivor in the Pwnium/Pwn2own event that hacked IE, Firefox and Chrome browsers on Windows. Apple's Safari running on Mac OS X was not hacked and neither (apparently) was Chrome on Chrome OS. Google disclosed [Monday] morning that Chrome on Chrome OS had in fact been exploited — albeit, unreliably. The same researcher that took Google's money last year for exploiting Chrome, known publicly only as 'PinkiePie' was awarded $40,000 for exploiting Chrome/Chrome OS via a Linux kernel bug, config file error and a video parsing flaw." Asks Freshly Exhumed: "So, was it really Google Chrome, or was Linux to blame?"

102 comments

  1. Linux or Chrome? by dintech · · Score: 4, Insightful

    So, was it really Google Chrome, or was Linux to blame

    Wasn't it both? They're both a component in the same vector.

    1. Re:Linux or Chrome? by R.Mo_Robert · · Score: 5, Interesting

      So, was it really Google Chrome, or was Linux to blame

      Wasn't it both? They're both a component in the same vector.

      If only there was "article" you could read that might tell you. From TFA: The same researcher that took Google's money last year for exploiting Chrome, known publicly only as 'PinkiePie' was awarded $40,000 for exploiting Chrome/Chrome OS via a Linux kernel bug, config file error and a video parsing flaw. So, it sounds like Linux. Google fixed this by patching Chrome OS, not Chrome per se.

      --
      R.Mo
    2. Re:Linux or Chrome? by dintech · · Score: 4, Insightful

      I do know this. The attack was via Chrome. It may have exploited a bug in Linux underneath, but so does any attack on Windows or MacOSX via browsers. Nice try at being at trolling but you'd be better off over at 4chan.

    3. Re:Linux or Chrome? by dintech · · Score: 1

      As is typical for Google, they offer very little in the way of full-disclosure or detail on the flaw fixed.

      Are you saying they didn't also patch Chrome?

    4. Re:Linux or Chrome? by Sarten-X · · Score: 4, Informative

      Of course, but let's make it a polarized finger-pointing issue anyway! That's the American way!

      Yeah, it's Chrome's fault for letting the untrusted code claim to be somewhat trusted. It's the kernel's fault for letting that questionable code become fully trusted. It reminds me of one of my favorite exploits where the kernel would helpfully drop core dumps in any directory the application said it was running from... including /etc/cron.d. A crafted program segfaulting could run a cron job to do aything as root. The attack didn't really exploit either program's faulty behavior, but rather the interaction between them.

      --
      You do not have a moral or legal right to do absolutely anything you want.
    5. Re:Linux or Chrome? by characterZer0 · · Score: 1

      Were the core dumps marked executable, or was cron sourcing the scripts instead of just executing them?

      --
      Go green: turn off your refrigerator.
    6. Re:Linux or Chrome? by nedlohs · · Score: 1

      cron.d files aren't scripts and don't need to be executed or sourced (doing so wouldn't work anyway).

      But if you arrange for

      * * * * * root /home/me/something

      to be at the start of a line in a file that is in /etc/cron.d and the file also manages to be parsable by cron then your something executable will be run as root.

    7. Re:Linux or Chrome? by jittles · · Score: 4, Interesting

      So, was it really Google Chrome, or was Linux to blame

      Wasn't it both? They're both a component in the same vector.

      If only there was "article" you could read that might tell you. From TFA: The same researcher that took Google's money last year for exploiting Chrome, known publicly only as 'PinkiePie' was awarded $40,000 for exploiting Chrome/Chrome OS via a Linux kernel bug, config file error and a video parsing flaw. So, it sounds like Linux. Google fixed this by patching Chrome OS, not Chrome per se.

      I don't know that it guarantees that it is a Linux problem. Did they modify the Linux source to do something specific for Chrome OS? Is the video parsing issue specific to Chrome OS? Did they do something non-standard or inherently unsafe with the config file?

    8. Re:Linux or Chrome? by dintech · · Score: 5, Insightful

      You are mistaken. If Chrome allowed a bug in the OS to be exploited via Chrome, both are at fault. Please consider that no OS is secure. That doesn't mean that browser developers should just give up on security.

    9. Re:Linux or Chrome? by dintech · · Score: 4, Insightful

      If we're talking about a kernel call that may allow escalations of privileges and you are not yourself sanity checking what that what's coming from some box on the internet, then fucking yes, be suspicious. You know something about code but seem to know very little about security in the real world. You my friend are the most dangerous kind of programmer around.

    10. Re:Linux or Chrome? by Anonymous Coward · · Score: 0

      Hmm really easy.

      1. mmap NULL.
      2. Write that buffer to NULL.
      3. mmap remove the entire rest of the address space. Presto segfault returning from mmap.

    11. Re:Linux or Chrome? by Anonymous Coward · · Score: 1

      Interesting theory... So, if buggy kernel returns true instead of (expected) false -- application should have logic that expects kernel to misbehave and somehow work out that kernel is lying? At this point I have only one question left -- do you have any programming experience?

      To turn your question around, is it your position then that IE and Safari isn't at fault for being compromised here either, if the attack also relied on bugs in Windows and OS-X (as they almost always do)?

    12. Re:Linux or Chrome? by Half-pint+HAL · · Score: 1

      So, it sounds like Linux.

      Nope. It sounds like Chrome OS. It is a component of the Linux codebase that Google included in the Chrome OS codebase of their own volition, that included an exploitable bug that they did not catch in testing.

      Most manufacture these days is simply the assembly of components. Do Acer get absolved of all responsibility if a batch of hard drives fails? "Not our fault, blame Hitachi"? Exploding iPhone batteries -- "Don't blame Apple, they didn't make it"?

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    13. Re:Linux or Chrome? by Anonymous Coward · · Score: 0

      Every kernel call can potentially escalate privileges if the kernel code has a bug.

      Have you ever heard of TOCTTOU? There's a similar phenomenon w/ input formatting. The only code which has all the necessary information regarding the proper data format is the code actually consuming the input.

      Sanity checking input is not good security practice. It should be a last, last resort. Most input sanity checking code simply adds more attack surface.

      As a general rule, more code is bad. You want less code.

      And not every kernel is as vulnerable as you think. The Linux kernel is as bug ridden as the Windows kernel. There are other open source kernels where people are more concerned with simple code, and removing code, instead of furiously adding features every hour. The number of local root exploits tends to be an order of magnitude less, not because they're smarter, but because code churn breeds bugs.

    14. Re:Linux or Chrome? by ceoyoyo · · Score: 1

      If that ChromeOS box had been sitting minding it's own business with no ports open, it wouldn't have been compromised. It WAS compromised, because the Chrome browser opened ports, received data, and did things. Chrome is at fault.

      That doesn't mean the bug in Linux shouldn't be fixed, but Chrome is the program that wasn't properly sanitizing outside data.

    15. Re:Linux or Chrome? by sjames · · Score: 1

      It sounds like both. Video drivers in the kernel and a config file error in Chrome.

    16. Re:Linux or Chrome? by dintech · · Score: 1

      I strongly agree that excess code can mean more bugs, I often code in one of the most terse lanugages in existence for that reason. However, in this case, clearly some required defensive code was absent.

      If a particular sequence of events is discovered that leads to a bug in the kernal being exposed, by all means push for that kernal bug to be fixed. But in the interim and for added safety, you might also want to hamstring access to that bug in your own code (Chrome in this case). That is my whole point, security does not have to be in one direction only. There isn't a hard requirement that you trust the platform you run on implicitly. I agree that you can't second guess everything that goes to and from the kernal but it's very clearly misplaced trust in this instance.

    17. Re:Linux or Chrome? by Anonymous Coward · · Score: 1

      At least in the case of ChromeOS, where they maintain a fork of the kernel, it would make more sense to just fix the kernel bug and push the update to users. That they didn't do this suggests they were unaware of the bug.

      The problem with Linux is that kernel bugs are committed constantly. It's just ridiculous how bad things have gotten. While everybody is arguing about namespaces, SELinux, etc, etc, these same people are committing egregious exploits.

      I wouldn't share resources on a Linux instance if my life depended on it. Security policy is worth nothing if the code implementing it is crap, and there's too much broken code in the kernel, unfortunately. Linux long ago crossed the threshold where there aren't enough eyes to sanity check the thousands of lines of features and refactoring committed every day.

    18. Re: Linux or Chrome? by Anonymous Coward · · Score: 0

      Yes, Safari isn't at fault for being compromised because it was the only browser that wasn't.

    19. Re:Linux or Chrome? by peawormsworth · · Score: 1

      Please consider that no OS is secure.

      Maybe ther is no "perfect security", but where is Microsoft $40,000 for each exploit?

    20. Re:Linux or Chrome? by Anonymous Coward · · Score: 0

      So, was it really Google Chrome, or was Linux to blame

      Wasn't it both? They're both a component in the same vector.

      It's only both if you assume Google doesn't have an obligation to know how the platform they're using works.

  2. It's not a bug ... by Thing+I+am · · Score: 5, Funny

    it's a feature. Obligatory

    --
    That sucking sound you hear is my bandwidth.
    1. Re:It's not a bug ... by Anonymous Coward · · Score: 0

      Wrong company.

  3. The answer is: Yes by ByOhTek · · Score: 3, Insightful

    The kernel shouldn't have had the bug, so Linux is to blame.
    Chrome OS is built on Linux by choice, not necessity (they could have used FreeBSD, Minix, or even done a UI replacement of Windows if they wanted to spend more $$$), so... since they didn't fix the bug in their chosen, and open source OS, it's their fault too.

    Blame doesn't always have to fall on one party, it can fall on multiple parties who all didn't do due diligence, or no parties when the problem was from nature, and nobody could have reasonably predicted it.

    --
    Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
    1. Re:The answer is: Yes by L4t3r4lu5 · · Score: 4, Insightful

      I would argue that if the bug is exploitable in non-ChromeOS kernels then Linux is to blame. If the bug was introduced by the ChromeOS implementation, then it's the fault of ChromeOS.

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    2. Re:The answer is: Yes by Anonymous Coward · · Score: 0

      Considering that there was a config file error and video parsing area I'd say Chrome was also at fault.

    3. Re:The answer is: Yes by Anonymous Coward · · Score: 2, Funny

      But wait! The config file was really the kernel .config, and the error was setting CONFIG_ESCALATE_TO_ROOT_RANDOMLY=M.

    4. Re:The answer is: Yes by Gr8Apes · · Score: 2

      The kernel is a general purpose manager. Was the error really in the kernel? Without a detailed analysis, saying that it's a kernel flaw, but requiring a configuration that's considered an error is more than a little disingenuous. I think the video processing error was just a vector for the attack, I'd be willing to bet that there are other vectors available as well.

      --
      The cesspool just got a check and balance.
    5. Re:The answer is: Yes by Anonymous Coward · · Score: 1

      Before we know details, we can't tell.
      Generally, if kernel wasn't doing something as advertised, or at least not at the "sanity" level expected, it's a kernel problem.
      If it is about the interface that is easy to misuse, or not guaranteed to be safe in the sense expected by Chrome sandbox (misuse or wrong assumption), then it's a bug in Chrome.
      Rationale is that we sometimes can't draw a line and have to look at the system as a whole.

    6. Re:The answer is: Yes by Anonymous Coward · · Score: 1

      Just like the hardware world of OEM using someone's component for building a system, Google might not be directly responsible for the bug, they should be held responsible for fixing it.

      Just because something is software, the vendor that sold it to you should not be able get away with it.

    7. Re:The answer is: Yes by LordLimecat · · Score: 3, Interesting

      Thats like arguing that your supermarket isnt to blame if they sell horsemeat as steak or something. You blame them (they are responsible for vetting the product they provide), and they will blame their vendor (who sold them a bad product).

      As parent said, blame isnt this binary thing; multiple people can be at fault simultaneously, but as Chrome's vendor, the end user should look to Google for answers-- its not Linus' job to fix Chrome OS, its Google's.

    8. Re:The answer is: Yes by L4t3r4lu5 · · Score: 1

      Thats like arguing that your supermarket isnt to blame if they sell horsemeat as steak or something.

      Well, sort of. I expect them to do their due diligence. If someone misleads them intentionally, that's a mitigating factor. You blame them, and identify the party at fault, and they remedy the situation. That's how it's supposed to work, anyway.

      Yes, absolutely. The end user will get recompense, and internal auditing will identify the weak link and (hopefully) resolve the issue. However, this is totally separate from:

      As parent said, blame isnt this binary thing; multiple people can be at fault simultaneously, but as Chrome's vendor, the end user should look to Google for answers-- its not Linus' job to fix Chrome OS, its Google's.

      True, but all I'm saying is either the ChromeOS team screwed up something in the kernel, or the kernel was already exploitable. ChromeOS may well have provided a path to execute the exploit, but ultimately the kernel should have given a big fat DENIED message when told to do the naughty.

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    9. Re:The answer is: Yes by Anonymous Coward · · Score: 1

      Um, no. If ChomeOS introduced a bug into their version of the Linux kernel, then it's their fault. A more apt analogy would be that the store bought the meat, then added some horsemeat to it, and that horsemeat made people sick.

      Not that it happened that way, of course, since we don't know if it was a Linux bug (more likely) or a ChromeOS bug.

    10. Re:The answer is: Yes by Half-pint+HAL · · Score: 1

      Well, sort of. I expect them to do their due diligence.

      And at the software level, due diligence means "testing".

      True, but all I'm saying is either the ChromeOS team screwed up something in the kernel, or the kernel was already exploitable.

      The kernel was already exploitable. But the ChromeOS team failed to catch it in testing.

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    11. Re:The answer is: Yes by unixisc · · Score: 1

      I would argue that if the bug is exploitable in non-ChromeOS kernels then Linux is to blame. If the bug was introduced by the ChromeOS implementation, then it's the fault of ChromeOS.

      I would say that if the bug is exploitable in Chrome on other OSs, particularly non-Linux OSs, then the Chrome browser is to blame. If it is not exploitable in those OSs, but is exploitable under Linux based OSs, then Linux is to blame.

      Of course, there is the possibility, indeed the probability, that every browser failed everywhere, in which case, both browser & OS were to blame.

    12. Re:The answer is: Yes by sjames · · Score: 1

      If a can of 'black beans' turns out to contain pork and beans, that is NOT the supermarket's fault even if it is their responsibility to handle the situation with their supplier.

  4. PinkiePie by Anonymous Coward · · Score: 0

    What a truly unique handle to blend into communities with.

    1. Re:PinkiePie by happy_place · · Score: 5, Informative

      PinkiePie is one of the My Little Ponies. That handle's kinda cute, considering that that those that are pwn'd are sometimes called Pwnies and there are the Pwnie Awards. And all the bronies know that PinkiePie is the funniest of the ponies... not that I'd admit watching the show... wink, wink... ahem...

      --
      http://www.beanleafpress.com
    2. Re:PinkiePie by Anonymous Coward · · Score: 3, Insightful

      Appropriate too. Pinkie Pie has a reputation for breaking the fourth wall and using that as a readily available exploit. Normal reality and it's laws of physics simply don't apply.

    3. Re:PinkiePie by Anonymous Coward · · Score: 2, Funny

      Comment from a happy_place calling PinkiePie "kinda cute" is a bit amusing in itself, but not going to crack jokes on it here when what I find more interesting is the hint that there potentially is a hacker/cracker group out there called "My Little Pwnies". Will leave the humor and fact finding to those more interested and better suited for each of those categories.

    4. Re:PinkiePie by Anonymous Coward · · Score: 2, Funny

      All we need is the OCD freak who tests everything meticulously, the simple hard-worker who keeps at it, the rock-star coder obsessed with speed, the hacker who's all about style, and the shy introvert with a menagerie of botnets and they could summon the freaking elements of exploitation.

  5. Misleading by Anonymous Coward · · Score: 0, Informative

    Saying that Safari on MacOS "was not hacked" is slightly misleading. Nobody attempted to hack it, so contrary to some reports (and posts) it didn't survive anything.

    1. Re:Misleading by BasilBrush · · Score: 5, Insightful

      You don't seem to understand how Pwn2Own works. People don't arrive at the contest, pick an OS/Browser and then start looking for an exploit.

      They begin weeks in advance looking for exploits. IF they find one, then they go to the contest and select the appropriate platform and demonstrate the exploit. Their demonstration may fail, because the versions of the software on the contest platform might be different from what they were practicing with.

      That no one "attempted to hack" OSX and Safari at the competition this year is because in the past few weeks of trying, no one has found an exploit for it. It's certainly not the case that they could have won the prize, but couldn't be bothered.

    2. Re:Misleading by Anonymous Coward · · Score: 1

      The OS X kernel and POSIX layer are all open source. There is no security through obscurity.

    3. Re:Misleading by WhatAreYouDoingHere · · Score: 1

      The fine folks running ioccc.org may disagree... just because you have the source code doesn't mean every thing therein is perspicuous.

      --
      "What are you doing here, Elijah?"
    4. Re:Misleading by RatPh!nk · · Score: 1

      Saying that Safari on MacOS "was not hacked" is slightly misleading. Nobody attempted to hack it, so contrary to some reports (and posts) it didn't survive anything.

      As it was slightly misleading in the previous few years when it was "the first browser" hacked (or some variation thereof). Someone found an exploit and they were first up.

      --
      Argh. The laws of science be a harsh mistress.
    5. Re:Misleading by ceoyoyo · · Score: 1

      Right... that's why it was gleefully hacked in all of the preceding years. It's time to put that tired old chestnut to bed and think up some new material.

    6. Re:Misleading by Anonymous Coward · · Score: 1

      Well, yes and no. I would remind our readers that both Chrome and Safari are based on WebKit and soon, because I can't stop it, Opera too. So it's at least interesting that, despite this commonality, the attack was executed and somewhat sucessful on Chrome but not Safari. The point is with BSD and WebKit at the core of MacOS X and Safari, neither of them are completely obscure. Though I won't argue the disinterest part.

    7. Re:Misleading by Goaway · · Score: 1

      Yes, people just didn't want that money.

  6. Where is the justice? by Anonymous Coward · · Score: 2, Funny

    PinkiePie should be given at least 41 months behind bars!! Down with all "Hackers". Put them all in Jail!!!! PFFFFTTTTTT!!!!!

  7. Google is a responsible firm by tuppe666 · · Score: 0, Redundant

    This is an unashamedly attack Linux/Chrome from those, with some of the most emotive language I have ever seen [Seriously "inconvenient truth"(sic)]. The only truth here is Operating Systems are not impenetrable. Words like blame should only be thrown around, when the part of the OS is designed without security in mind; fixes are not implemented in a *timely* manner. I don't have to provide examples.

    The only "inconvenient truth*(sic) is that Google and Intel are *responsible* [and others] for securing that Driver [i915], which I use on GNU/Linux, and due to this event and $4000 Google have made my computer a little more secure. It shows how incredibly successful Stallmans Licence GPL2 can be used by Linus as a "Tit for Tat" License, for an Open source graphics driver.

  8. XEN para-virtualized browsers in Qubes OS by Burz · · Score: 5, Interesting

    The browser is a rather complex beast and there is probably no way that the application itself can ensure system integrity... at least with any consistency.

    Some of us are migrating our online activities to Qubes OS which is a desktop distro (I know...) that allows you to create App VM domains for things like "personal", "work", "unsafe", etc. and also a "disposable" one that gets reset on exit. Each domain of apps is displayed in window borders that have an associated color.

    Taking it further, some of the commonly-attacked system components like the network stack are virtualized as well.

    Qubes employs VT-x and VT-d/IOMMU hardware to allow you to operate different types of peripherals (like bluetooth) without incurring all of the risk they normally carry. Even device drivers are paravirtualized! So the attack surface that can be used against the core system (or any other domains in the system) is kept to a bare minimum.

    An added benefit of this approach is that user activities are tracked somewhat less than normal (especially if you use disposable VMs).

    1. Re:XEN para-virtualized browsers in Qubes OS by Viol8 · · Score: 1

      "Even device drivers are paravirtualized"

      How can you virtualise device drivers? Either they access hardware directly or they don't. If they don't then what runs the hardware?

    2. Re:XEN para-virtualized browsers in Qubes OS by Burz · · Score: 1

      IOMMU hardware in recent CPUs translates the device into the VMs address space. Then the kernel running inside the VM can use its normal drivers to operate the device at essentially full speed.

      The kernel that runs the hypervisor only runs a limited set of drivers by default.

    3. Re:XEN para-virtualized browsers in Qubes OS by Desler · · Score: 1
    4. Re:XEN para-virtualized browsers in Qubes OS by ledow · · Score: 4, Interesting

      You mean the same idea I've been asking for for about 15 years, otherwise known as bottling, process separation and lots of other fancy terms?

      Your browser doesn't need access to the hard disk, except a single, solitary folder for downloads. That's it. It shouldn't even KNOW where that folder is, nor if it's in memory or a disk, or a network share. Hell, it shouldn't even be allowed to have the capability to look, let alone actually find out.

      For uploads, the browser requests that YOU supply the information to the browser process bottle, and it takes it once supplied and does what's necessary. It has no need to have arbitrary access to every file visible on your system, only those it creates itself inside its bottle, or those you explicitly provide it with through some system mechanism. Similarly, it has no need to do anything more than put out a HTTP request and get a response.

      Something else, somewhere, will handle, authorise and sanitise that request and response and do NOTHING else. Yes or NO. The program should have NO way to detect what that process is (so if the user wants to run in a zero-privilege environment, the browser just has to cope with that rather than say "I can't run without admin").

      Now replace "browser" with "word processor", "spreadsheet", "hardware utility" or anything else that you use on your system.

      The problem we have is that we've come from general purpose OS that were designed to let all processes have access to anything that wasn't explicitly locked away from them. The fix is to give processes the absolute bare minimum they require to do their work, make them ASK for everything, and refuse any request that you don't like. And make every process work (for the correct definition of work) even when tested inside a bottle that ALWAYS gets No to every request.

      We've sort of tacked on such security features to today's OS (Unix-likes are certainly closer than, say, Windows), which historically always said "Yes", and now we have to start with one that says "No" all the time, for everything, and gives nothing to a process that isn't 100% necessary.

      Replace all "file open dialog" actions with a system component that does NOTHING but let the user choose a file (Windows started out with the right idea here, but fails terribly in implementation). Hell, theming is then permanent and to the user's preference (and the program needs know NOTHING of the theme chosen or anything else) and nobody has to (or can) run around recreating an official file-open dialog. You can even "green-bar" official file-open dialogs (like we do with padlocks on SSL sites) so that they are distinguishable from rogue processes trying to create fake file-open dialogs (even though those would not be able to escape the bottle to read files anyway!). Make it so that NO other process can green-bar a file-open window except the file-open process.

      Hell, why should a process even be able to know or change whether it's full-screen, windowed, the window size, etc.? Instantly you take ten options out of every game that has "recreated" those options and decisions for you and leave it to the user to decide. Game X will ALWAYS load fullscreen. Any process marked as a "Game" will only be fullscreen when I press this button. Or even "No process can EVER go fullscreen because I always like to see my Start Bar". And the process will have no way to know, and no way to override the decision of the user. All it knows is that it has a bitmap area it can draw to which is copied to the screen when it asks. It can't tell if that copy is a copy-and-scale into a window bitmap, or direct copy to video memory, or even just copy to a screenshot / VNC program.

      Assuming a program wants to open a file, the program calls the function to open said dialog and is blocked until it returns. It can't do anything else but request it. The dialog is run in a process all of its own and has access to read file names in user-allowed folders, display things in a file-open dialog on-screen (again, subj

    5. Re:XEN para-virtualized browsers in Qubes OS by tlhIngan · · Score: 1

      Something else, somewhere, will handle, authorise and sanitise that request and response and do NOTHING else. Yes or NO. The program should have NO way to detect what that process is (so if the user wants to run in a zero-privilege environment, the browser just has to cope with that rather than say "I can't run without admin").

      Now replace "browser" with "word processor", "spreadsheet", "hardware utility" or anything else that you use on your system.

      The problem we have is that we've come from general purpose OS that were designed to let all processes have access to anything that wasn't explicitly locked away from them. The fix is to give processes the absolute bare minimum they require to do their work, make them ASK for everything, and refuse any request that you don't like. And make every process work (for the correct definition of work) even when tested inside a bottle that ALWAYS gets No to every request.

      OS X started doing this by default on a limited basis. For all Mac App Store apps, sandboxing is required and enforced by the OS. Of course, it's lead to more than a few difficulties which result in apps having to be removed from the MAS because the sandbox restrictions were too tight (i.e., they cannot access system files, so if you're a text editor, that's a fairly significant limitation).

      Likewise, general apps cannot access cloud-saved data (with good reason - it's possible for clever malware to embed itself into the cloud storage which results in that app continually reinfecting itself, and since it doesn't sandbox (not enforced for non-MAS apps), result in the machine continually getting reinfected.

      Of course, if you ask the /. crowd, when Apple tries to do sandboxing and such, it's evil and results in the iOS-ization of OS X. And that access to the whole filesystem is a right and the MAS should die because it's sandboxing...

    6. Re:XEN para-virtualized browsers in Qubes OS by theurge14 · · Score: 1

      Cliff Notes version: Modern OSes should adhere to the principle of least privilege.

    7. Re:XEN para-virtualized browsers in Qubes OS by Electricity+Likes+Me · · Score: 1

      The principle has always been good, but implementing it in a way where you can actually work with it has always been harder. Most systems that try to do this don't have a good answer to letting the user deal with it.

    8. Re:XEN para-virtualized browsers in Qubes OS by sjames · · Score: 1

      It's only evil when it's forced on the user. User access to the entire filesystem on their own device IS a right.

    9. Re:XEN para-virtualized browsers in Qubes OS by Anonymous Coward · · Score: 1

      the problem being that when apple sandboxes, it doesn't give the program the option to offer the user the ability to access files elsewhere or to raise its priviledges. It just defaults to "no" and there's no way to change it to "yes," even if you want to. So yes, it's evil because it assumes you'll never be smart enough to make the choice "yes" instead of "no."

    10. Re:XEN para-virtualized browsers in Qubes OS by fa2k · · Score: 1

      IMHO this is more like a work-around that a real solution. You have to allocate RAM for each application VM, which is really unpractical and will impact performance. A better approach seems to be to build security from the top down by extending chroot into things like Linux Containers and FreeBSD jails. You get similar isolation for applications, but full system performance. You don't have the extra security of isolation for the drivers, that wouldn't be possible in Linux without virtualisation. However, in Qubes you still need some protocol for the other parts of the system to talk to the network VM, so if someone owns the network VM, they can quite possible also get at the other parts of the system (admittedly much more difficult than the instant root (or better) that can be obtained by owning a driver in standard Linux).

      Qubes OS has created a nice innovation on the main X11 desktop. Applications from different security domains are clearly marked, so that it is difficult to fool the user into entering information in the wrong place. X11 is usually a bottleneck when it comes to isolation, and Qubes fixes this.

    11. Re:XEN para-virtualized browsers in Qubes OS by Burz · · Score: 1

      Yes, nothing is 100% efficient or safe. I don't mind throwing a couple extra GB at the problem of security, however, especially if it gets me robust hardware-backed isolation.

    12. Re:XEN para-virtualized browsers in Qubes OS by Anonymous Coward · · Score: 2, Informative

      the problem being that when apple sandboxes, it doesn't give the program the option to offer the user the ability to access files elsewhere or to raise its priviledges. It just defaults to "no" and there's no way to change it to "yes," even if you want to. So yes, it's evil because it assumes you'll never be smart enough to make the choice "yes" instead of "no."

      Total nonsense. Apple's approach to sandboxing is centered around giving users the very power you claim they're denying. Say a user wants to open a file in a sandboxed app, and that file doesn't reside inside the app's private storage area (the isolated chunk of filesystem where it is free to create/open/delete files at will). The user uses the "open" command from the menu or the keyboard, same as any pre-sandbox GUI app. But instead of presenting its own UI for file opening, the sandboxed app makes a library call telling the OS to present the standard file picker UI. The OS does so, using a separate process heavily guarded against outside interference (so it can be sure that the user is the one choosing the file). Once the user has picked a file, the OS opens a hole in the sandbox permitting the app to access the file. So it all works, using the same flow users always used to pick files before. (It doesn't even look any different.)

      That said, this approach isn't perfect. It works well for application types which need access to user-created documents, but not so well for apps which might want to touch a large quantity of files outside the app's sandboxed directory without requiring the user to pick each and every one. So there's a lot of cases where it doesn't work too well yet. It's clearly a work in progress. (Which is why Apple isn't denying the ability to install and run non-sandboxed apps, despite all the sky-is-falling paranoia.) But to claim that Apple is denying users the ability to raise an app's privilege? Just shows you have no fucking clue what you're talking about.

    13. Re:XEN para-virtualized browsers in Qubes OS by Anonymous Coward · · Score: 0

      The GP is probably thinking of iOS which doesn't have a powerbox dialog.

  9. Chrome hack to get GPU by Halotron1 · · Score: 3, Interesting

    Chrome OS bug:
    The CVE-2013-0913 hack was was a buffer overflow in the GPU for Chrome OS / Linux.
    http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0913

    Chrome browser bug:
    Last year's PinkiePie hack chained multiple Chrome (browser) bugs together to be able to get to the GPU.
    http://www.webpronews.com/google-chrome-cracked-by-six-bug-combo-2012-05

    They didn't release details yet, but odds are since it's the same person he probably used a similar method to hack the browser and get access to the GPU of the OS.

  10. Who gives a fuck ? by DrYak · · Score: 2, Insightful

    I mean apart from academic curiosity, who does give a fuck if the fault should be blamed on Linux or on Chrome ?!

    The REAL ACTUAL IMPORTANT part is that the problem got discovered, so you can expect that the kernel, the config file parser and the video decoder (or the video driver if it's hardware accelerated) will get patched, sent upstream and then a wave of updates will be pushed to all the various distributions affected by said bugs.
    The world will be a safer place AND THAT'S WHAT MATTERS for everyone.

    Not only that, but thanks to the open nature of the whole stack (Linux kernel, rest of the ChromeOS distro, Chrome browser, or to be more precise the -ium variations of these), it's possible to scan the rest of the source to see if similar problems exist elsewere, maybe change policies or update tools to better detect such problems, inform the contributors of the affected slices of code... So a discovered exploit can even help making an even safier place.

    There's no point in playing the blame game, when there are much more interesting things to do with the exploit.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Who gives a fuck ? by geminidomino · · Score: 2

      I mean apart from academic curiosity, who does give a fuck if the fault should be blamed on Linux or on Chrome ?!

      The Brand-tribes have to know so that the guilty tribe can sacrifice a virgin[0] to the volcano gods.

      [0] obSlashdot: Insert slashdot "virgin" joke of your choice here.

  11. So, how badass do you have to be... by Anonymous Coward · · Score: 0

    How do these winners of pwn2own compare to the average programmer? It seems you'd have to be pretty bad ass to find these flaws and exploit them in one sitting, no?

    1. Re:So, how badass do you have to be... by Desler · · Score: 2

      They find them ahead of time.

  12. Microsoft was to blame, obviously. by Anonymous Coward · · Score: 0

    They paid this 'PinkiePie' character to badmouth both Chrome OS and Linux, with Microsoft sympathizers at Google playing along.

    1. Re:Microsoft was to blame, obviously. by symbolset · · Score: 1

      Microsoft sympathizers at Google

      OK, that was funny.

      --
      Help stamp out iliturcy.
  13. drivers *not* paravirtualized by Chirs · · Score: 1

    If you're using VT-d/IOMMU to assign a particular piece of hardware to a particular VM then that is not actually paravirtualized...you're basically running the normal driver in the VM.

    Paravirtualized hardware would require the host OS to have the driver for the hardware, then present a different (usually simplified) API to the guest to allow it to do things more efficiently than fully virtualizing the hardware.

    1. Re:drivers *not* paravirtualized by Burz · · Score: 1

      OK, thanks for correcting my terminology there!

  14. Two things comes to mind... by Anonymous Coward · · Score: 0

    The first thing I wonder is if it also affects Chrome / Chromium when installed *without* root privileges. I hate it when you install Chrome from a .deb / .rpm because it does lots of weird stuff, like modifying /etc/apt/sources etc. and even if you then remodify it there are scripts run automatically which shall turn back on automatic updates. I hate this kind of stuff with a passion so I install Chromimum from the .zip / .tgz in a user account, without ever giving my root password. Could this hack affect me with such a setup?

    Second thing which comes to mind: this is yet another buffer overflow, this time in a GPU driver apparently (which seems to be part of the exploit). We're in 2013 and there *are* solutions against this. For example the 7000 lines or so of the esL4 microkernel have been formally verified by a prover and are guaranteed to be free of any buffer overflow/overrung. During the verification hundreds of potential bugs have been found and fixed.

    Why couldn't code for GPU drivers be formally verified using theorem provers?

    At one point people will have to start to look into what others are doing, like the guy on that esL4 microkernel team... Because the benefits of a codebase which is guaranteed to not contain any weird pointer dereferencing exploit or any buffer overflow/overrun already goes a very long way towards more security. As I understand it the problem is that the more lines, the more times it takes and it's exponential: so we can't say "verify the entire Linux kernel" or "verify the entire Chrome codebase". But if we split things in tiny chuncks (7000 lines of code is nothing to sneeze at: it's enough to have a micro-kernel running) then we can already, today, use theorem prover to make sure the code is immune against what constitutes 99.99% of all the security exploits out there (once again, this Chrome OS / Linux / Chrome exploit was based in part on a buffer overrun). So what about we start using theorem prover on GPU drivers?

    Crossing fingers and waiting for this better world...

  15. and meanwhile, Microsoft gives away an Xbox. by Anonymous Coward · · Score: 0

    The particular parameters of Chrome exploits aren't the big issue. Ultimately the winners disclosed serious vulns in widely-used software to the software maker, and received a big enough prize total (Google put out $xM for pwn2own) to make security matter more and motivate more of the same in the future. Meanwhile, Microsoft gives away an Xbox. Yeah, you can talk all you want, but your budget tells the truth.

  16. Re:Chrome to blame by c0lo · · Score: 1

    During the apple / java problem debacles the consensus arose that even though the flaw was in java, apple was to blame. Surely the same apples here.

    FTFY

    --
    Questions raise, answers kill. Raise questions to stay alive.
  17. OSX/Safari by programmerar · · Score: 2

    So OSX/Safari was the only one standing?

    1. Re:OSX/Safari by Anonymous Coward · · Score: 0

      More like left sitting.

    2. Re:OSX/Safari by EGSonikku · · Score: 0

      Considering OS X has a much higher share VS. Linux, and the fact that Safari is used on hundreds of millions of iOS devices...your comment is...full of shit?

      --
      - "Scientia non habet inimicum nisp ignorantem"
    3. Re:OSX/Safari by programmerar · · Score: 1

      Yea, call it what you want AC but Safari was apparently the most secure among the bunch. Like it or not.

      Sent from my iPhone

  18. cheating programmer monkies by Anonymous Coward · · Score: 0

    Give me a fucking grape!!
    http://www.activistpost.com/2013/03/what-happens-when-2-monkeys-are-paid.html

  19. Analyzing the exploit by daboochmeister · · Score: 2

    Not a lot of info available, but one vulnerability seems to be with the i915 video driver (hence, would be limited to devices using embedded Intel graphics), and the other a Chrome bug related to GPU usage (hence, hardware acceleration) that is listed as resulting in a potential denial of service or more.

    So the attack would likely involve a web page employing hardware acceleration, that leaks an overflow into the i915 driver, resulting in ... DoS? Shell?

    Calling it not reliable means that there isn't a deterministic way to establish the system state needed for the exploit to work.

    Google has fixed Chrome already - and now we need to watch what gets upstreamed in the i915 driver for the next week or so.

    p.s. PinkiPie da Man (or woMan, don't know gender).

    --
    "Ahh! I see you're in that indeterminate Schrodinger state where - oh, uh ... never mind." Dave Bucci
  20. Chrome IS Linux/GNU/X by Kludge · · Score: 1

    So, was it really Google Chrome, or was Linux to blame?

    I hate to tell all you Linux dislikers this, but here it is: Chrome is just another Linux/GNU/X-windows distribution. What differentiates "Chrome" from others? A thin layer of links to Google web sites on the user interface.

    1. Re:Chrome IS Linux/GNU/X by Anonymous Coward · · Score: 0

      ChromeOS doesn't use X. Nor does it use GNU userspace.

  21. Obvious troll article by Pop69 · · Score: 1, Insightful

    How does this garbage get past a so called editor ?

    1. Re:Obvious troll article by thetoadwarrior · · Score: 0

      Please explain why it's garbage and causes you so much butt hurt.

    2. Re:Obvious troll article by Anonymous Coward · · Score: 0

      Look at the OP's Slashdot number. He is a beard, not a troll.

  22. The question is wrong. by Anonymous Coward · · Score: 0

    In the real world does it really matter who you blame after a successful penetration of a system? Yes, they made Chrome as bulletproof as possible, yes, the platform specifics made this exploit possible, it's not a large scale out-in-the-wild kind of exploit both because it targeted a unique configuration and also, well, because there aren't many ChromeOS devices out there. Still, a successful exploit is a successful exploit. Fix it and while you're at it get off my lawn.

  23. It's up to you who to blame. by Requiem18th · · Score: 3, Insightful

    The blame falls to neither or both of them. It's completelly up to you.

    If you are a Linux developer you want to make that sure it remains secure even if Chrome fucks up. If you are a Chrome developer, you want to make sure you have covered all your bases for all the different OS you are developing for. If you are a fanboy, you want to blame whatever product you aren't a fan of. If you are just a practical person, you care little about the blaming game and simply chose dependinig on which platform you are more invested in, Linux or Chorme.

    PS: I still can't believe Google named its browser after an internal technology of Mozilla. Hell, I still can't believe MS named its VM after a TLD.

    --
    But... the future refused to change.
    1. Re:It's up to you who to blame. by Anonymous Coward · · Score: 0

      I wouldn't call Chrome an internal technology of Mozilla so much as a descriptive label for UI presentation components.

  24. Go ahead, the code's out there by idunham · · Score: 0

    Go ahead, it's at http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915?id=HEAD ...and there's about 19,000 lines in that particular directory (find drivers/ -name i915*|xargs cat|grep -ve '^[/ ]\*' -e ^$ |wc -l), and it depends very heavily on a few other modules (agp, ~2kloc for intel-*; there's a couple more I think...)
    That's 21kloc right there, or 3 years if you have the same team that reviewed L4...and almost all of that's changed in the year from 3.4 to 3.8, if I read the output of git diff properly.
    Meanwhile, Intel's working on a couple new gpus.

  25. Wrong wrong wrong by daboochmeister · · Score: 1

    Chrome OS (which I assume you mean, when you say it's another Linux/GNU/X-windows distro) has a number of things that differentiate it from most other distros, including some of their own innovations and coding efforts that are being upstreamed.

    See: this discussion, for example.

    --
    "Ahh! I see you're in that indeterminate Schrodinger state where - oh, uh ... never mind." Dave Bucci