10

Today emerged report about another serious vulnerability in opensource world, CVE-2016-0728. It is local privilege escalation in Linux kernel 3.8+.

What are the the possible real-world exploitation, consequences and possibilities to mitigate (except patching kernel)?

Thoughts/Related:

  • Related question about Docker has also interesting thoughts. You might be able to break out of container!
5
  • The link you mention talks about it - is there something in the link that does not answer your question? Malware on Linux or Android could gain root access.
    – schroeder
    Commented Jan 19, 2016 at 22:11
  • Yes, the link describes it quite good in detail from below as a research papers usually do. Malware is a good example, same as software from unknown sources. Also I was wondering about the effect of SELinux, AppArmor or other security modules used nowadays.
    – Jakuje
    Commented Jan 19, 2016 at 22:22
  • The authors say they will post about all that later on, and how they got around those protections. I think this question is premature.
    – schroeder
    Commented Jan 19, 2016 at 22:38
  • Has anybody heard about successful exploitation of this vulnerability? I mean except the original reporters? Commented Jan 20, 2016 at 13:35
  • 1
    @VladimirKunschikov I didn't see any. Before I updated, I left the code running for some time, until it ran out of memory and froze my whole system. Also people from reddit didn't report success as I was checking last time.
    – Jakuje
    Commented Jan 20, 2016 at 18:38

1 Answer 1

3

You could try the exploit directly on any given host and determine your own level-of risk. My initial thought is that even on Android, many kernels have SMEP/SMAP enabled, thus preventing the canned exploit code above. One would need to rewrite the exploit with ROP or use a similar SMEP/SMAP bypass technique. (Update 2016/Feb/06 -- Collin R. Mulliner discusses on his blog why most Android devices are not affected)

Because this is a counter-wrapping flaw, this bug has some starting and counting problems that must also be overcome, which the PoC exploit in my first sentence does not take into account.

3
  • SMEP/SMAP require hardware support to be present, no?
    – leoluk
    Commented Jan 20, 2016 at 9:52
  • @leoluk: yes, but even ARM processors (and most server-based Intel ones) include this sort of support.
    – atdre
    Commented Jan 20, 2016 at 16:40
  • 1
    Most Android systems do not have SMEP and SMAP. Android typically runs on the ARM architecture, and ARM has PXN and PAN (Privileged eXecute Never and Privileged Access Never, respectively) which are similar, though slightly more secure (as PAN also hides information about the page table, like PaX's segmentation-based UDEREF). It's important to remember that SMEP and SMAP are not the names of a class of processor features, but a specific trademarked implementation by Intel.
    – forest
    Commented Mar 17, 2018 at 5:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .