Re: [Full-disclosure] MySQL (Linux) Heap Based Overrun PoC Zeroday

From: Jeffrey Walton <noloader@gmail.com>
To: king cope <isowarez.isowarez.isowarez@googlemail.com>
Cc: full-disclosure@lists.grok.org.uk,bugtraq@securityfocus.com,todd@packetstormsecurity.org,submit@offsec.com
Subject: Re: [Full-disclosure] MySQL (Linux) Heap Based Overrun PoC Zeroday
Date:


Hi Kingcope,

# As seen below $edx and $edi are fully controlled,
# the current instruction is
# => 0x83a6b24 <free_root+180>:   mov    (%edx),%edi
# this means we landed in a place where 4 bytes can be controlled by 4 bytes
# with this function pointers and GOT entries can be rewritten to
execute arbritrary code

Out of curiosity, is this exploitable when using hardened toolchain
settings? Specifically, -z,noexecheap, -z,now, and -z,relro? For
no-exec heaps., you need to be on Gentoo or other platforms which
offer the remediation.

Jeff

On Sat, Dec 1, 2012 at 4:26 PM, king cope
<isowarez.isowarez.isowarez@googlemail.com> wrote:
> (see attachment)
>
> Cheerio,
>
> Kingcope
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/





Copyright © 1995-2018 LinuxRocket.net. All rights reserved.