pen-test
[Top] [All Lists]

RE: Pentesting Openmail Web login

To: pen-test@securityfocus.com
Subject: RE: Pentesting Openmail Web login
From: Marco Ivaldi <raptor@mediaservice.net>
Date: Fri, 25 May 2007 12:43:15 +0200 (ora solare Europa occidentale)
Delivered-to: sp-com-lists@consult.net
Delivered-to: pentest-list2@consult.net
Delivered-to: mailing list pen-test@securityfocus.com
Delivered-to: moderator for pen-test@securityfocus.com
In-reply-to: <7C16698DBDC0FE49B00A3582BE6E86D07DDCFA@HS01MS55.healthsouth.insidehrc.com>
List-help: <mailto:pen-test-help@securityfocus.com>
List-id: <pen-test.list-id.securityfocus.com>
List-post: <mailto:pen-test@securityfocus.com>
List-subscribe: <mailto:pen-test-subscribe@securityfocus.com>
List-unsubscribe: <mailto:pen-test-unsubscribe@securityfocus.com>
Mailing-list: contact pen-test-help@securityfocus.com; run by ezmlm
References: <679373278-1179969881-cardhu_blackberry.rim.net-1262565111-@bxe047-cell01.bisx.prod.on.blackberry> <7C16698DBDC0FE49B00A3582BE6E86D07DDCFA@HS01MS55.healthsouth.insidehrc.com>
Resent-date: Fri, 25 May 2007 13:22:11 -0600 (MDT)
Resent-from: pen-test-return-1078484254@securityfocus.com
Resent-message-id: <20070525192211.25A5F144FF7@outgoing2.securityfocus.com>
Resent-sender: listbounce@securityfocus.com
Sender: listbounce@securityfocus.com
On Thu, 24 May 2007, Clemens, Dan wrote:

The use of SMTP command may help you - expn or vrfy will help you in enumerating accounts.

As a side note, i've seen quite a lot of SMTP servers (Sendmail, Postfix, Exchange, etc.) configured to leak valid users with the RCPT TO command too, e.g.:

raptor@pandora:~$ telnet mail 25
Trying x.x.x.x...
Connected to mail.
Escape character is '^]'.
220 mail ESTMP none
helo foo
250 mail
mail from:<test@test.com>
250 Ok
rcpt to:<root>
250 Ok
rcpt to:<noexistant>
550 <noexistant>: Recipient address rejected: User unknown in local recipient table

Sometimes, such as in this example, system users are leaked; sometimes only email addresses can be recovered. In some situations, the latter may be considered "a feature, not a bug" (tm), as for instance it helps to keep a lower resource usage on servers heavily targeted by spam. YMMV.

My brutus.pl tool implements this information leak attack, together with the classic VRFY/EXPN (it always amazes me how these are still active on some default configurations!):

http://www.0xdeadbeef.info/code/brutus.pl

Cheers,

--
Marco Ivaldi, OPST
Chief Security Officer    Data Security Division
@ Mediaservice.net Srl    http://mediaservice.net/


------------------------------------------------------------------------
This List Sponsored by: Cenzic

Are you using SPI, Watchfire or WhiteHat?
Consider getting clear vision with Cenzic
See HOW Now with our 20/20 program!

http://www.cenzic.com/c/2020
------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>