Monday, 19. October 2009, 06:23:36
eBay uses procmail (no disrespect but its a software which is seldom updated by its author) and I
had an accidental discovery a few days back on Promotional Coupons and Offer Emails sent by eBay.
Just reply to a Promotional Email or an Email holding a Discount Coupon. Make sure to Include the
Original Message in the Reply.
Though such Coupon Emails could be sent by eBay from any eBay Email address, the mail should be
sent only to "eBay Global EasyBuy" <eBay@reply.ebay.in>
You can remove your username from the Subject field which you have registered at eBay (its
recommended to replace it with something else)
Make sure to Include this Text in the reply :
Dear Sir/Madam,
ABCDEFG. HIJKLMNOP.
QRSTUVW.XYZABCD.
123456789 :-(
password ?
Regards,
XX

Now after you hit send ou will receive 2 Emails :

First :
From: reply@reply.ebay.in
Subject: Re: XX, Global EasyBuy Diwali offer: Assured free gifts & chance to win LCD TV &
Blackberry!
which is actually a Reply to the Email which you sent.

and
Second:
From:"Mail Delivery Subsystem" <MAILER-DAEMON@sjcitkcdmz08.sjc.ebay.com> [ Note that this ID is
subject to change ]
Subject: Returned mail: see transcript for details

Repeat the process and you will find Procmail (a mail filtering and categorising software) puke
out its log file alongwith eBay Inc.'s Singapore Servers' Internal IP addresses one by one alongwith a full FQDN. This directly isn't a vulnerability since Internal IPs can be obtained from mail headers as well but mailing back a grepped log file isn't a very safe action both for procmail as well as for eBay.
If you are lucky the Log file sent out by procmail might also include Subject Lines like :
1 ] Emails usernames of other eBay users
2 ] Nature of Coupons sent to them by eBay
3 ] Cancellation of accounts
4 ] Banning of users
etc.
Regardless of whether you see all the above or not, you will definitely see an error message like
this one in one of the mail's body content :
----- The following addresses had permanent fatal errors -----
"|IFS=' ' &&exec /usr/local/bin/procmail -f- || exit 75 #cm_user"
(reason: can't create (user) output file)
(expanded from: <cm_user@eresponse.vip.ebay.com>)
----- Transcript of session follows -----
550 5.0.0 "|IFS=' ' &&exec /usr/local/bin/procmail -f- || exit 75 #cm_user"... Can't create
output
And if you are lucky you might get a whole list like the one below :


So far these are the Internal IP addresses and Domain Names which I've gathered :
sjciport01-ext.sjc.ebay.com [10.6.60.178]
sjciport02-ext.sjc.ebay.com [10.6.60.179]
sjciport03-ext.sjc.ebay.com [10.6.60.18]
sjciport04-ext.sjc.ebay.com [10.6.60.239]
sjciport05-ext.sjc.ebay.com [10.6.60.161]
.
.
.
sjciport06.sjc.ebay.com [10.112.152.242]
sjciport07.sjc.ebay.com [10.112.152.243]
sjciport08.sjc.ebay.com [10.112.152.244]
sjciport09.sjc.ebay.com [10.112.152.245]
sjciport10.sjc.ebay.com [10.112.152.246]
[ You can guess the remaining ]