exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

olly-int3-adv.txt

olly-int3-adv.txt
Posted Aug 7, 2005
Authored by Piotr Bania | Site pb.specialised.info

OllyDbg INT3 AT format string vulnerability advisory. Version 1.10 is affected.

tags | advisory
SHA-256 | 4e248085ea289108462324432c3a447b216daa32ef90603b528efb433b1b757d

olly-int3-adv.txt

Change Mirror Download



OllyDbg "INT3 AT" Format String Vulnerability
by Piotr Bania <bania.piotr@gmail.com>
http://pb.specialised.info


Original location:
http://pb.specialised.info/all/adv/olly-int3-adv.txt

Severity: High / Medium - code execution.
Version affected: Probably all versions, tested on
v1.10.



I. BACKGROUND

"OllyDbg is a 32-bit assembler level analysing debugger for
Microsoft Windows. Emphasis on binary code analysis makes it
particularly useful in cases where source is unavailable."


II. DESCRIPTION

Vulnerability takes place when module (with special crafted file
name) executes int 3 instruction (trap to debugger).

Here is the vulnerable code:

.text:0042FBE0 lea eax, [ebp+buffer]
.text:0042FBE6 push eax ; format string
.text:0042FBE7 mov edx, [ebp+var_28]
.text:0042FBEA push edx
.text:0042FBEB call sub_42E100 ; _vsprintf->
;___vprinter


Where format is an ascii string like: "INT3 command at
<module_name>.addr".

Attacker can place a format string chars inside "<module_name>"
(part of format buffor) and cause Olly to overwrite arbitary data.

NOTE: Even with "IGNORE INT3 BREAKS" option checked, OllyDbg is
still vulnerable. Attacker can also load some special crafted
module (with special crafted name) while debugging, to make
the attack more stealthy.


III. IMPACT

This vulnerability after successful exploitation can allow the
attacker to run arbitrary code in context of current user.
Of course if the exploitation was not successful OllyDbg will fault
and loose all debugged data.



best regards,
Piotr Bania

--
--------------------------------------------------------------------
Piotr Bania - <bania.piotr@gmail.com> - 0xCD, 0x19
Fingerprint: 413E 51C7 912E 3D4E A62A BFA4 1FF6 689F BE43 AC33
http://pb.specialised.info - Key ID: 0xBE43AC33
--------------------------------------------------------------------

Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close