[UNIX] Security Bug Found in W3Mail Webmail

From: support@securiteam.com
Date: 10/10/01


From: support@securiteam.com
To: list@securiteam.com
Subject: [UNIX] Security Bug Found in W3Mail Webmail
Message-Id: <20011010063513.DE96F138C4@mail.der-keiler.de>
Date: Wed, 10 Oct 2001 08:35:13 +0200 (CEST)

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

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  Security Bug Found in W3Mail Webmail
------------------------------------------------------------------------

SUMMARY

 <http://www.w3mail.org/> W3Mail is a full featured webmail application. A
security vulnerability in the product allows attackers to cause the CGI to
execute arbitrary code.

DETAILS

Vulnerable systems:
 * W3Mail 1.0.2 Personal and Commercial version (and prior)

The CGI script used by the program does not check for special
meta-characters like &;`'\"|*?~<>^()[]{}$\n\r. This would allow any
webmail user could execute UNIX commands on web server.

Example:
On any field at "Compose Message", put something like:
(Recipient example)
foo@bar.com"; `/bin/touch /tmp/foobar`; $foo = "bar

and an empty file will be created at /tmp/foobar.

ADDITIONAL INFORMATION

The information has been provided by <mailto:corb@sekure.org> Emanuel
Almeida.

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

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.



Relevant Pages

  • RE: Using Web mail (hotmail, gmail, yahoo, etc) for Business mails
    ... Another issue with these webmail products is the mass storage that they now ... In highly secured environments they can pose as much of a security ... risk as USB drives and removable storage. ... The NSA has designated Norwich University a center of Academic Excellence ...
    (Security-Basics)
  • [NT] Argosoft Mail Server Plus/Pro Webmail Reverse Directory Traversal
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Argosoft Mail Server Pro contains a built-in HTTP server for webmail ... server or of the mail attachments for a valid user. ... Any Windows system using the webmail feature of Argosoft Mail Server Plus ...
    (Securiteam)
  • Webserver WebMail and Security Options
    ... My users need Webmail and Web based Exchange works great for them. ... I've read many times don't enable Port 80 for security reasons. ... minmize security I can use a seperate box from from the SBS Server (it ... still have WebMail go to the SBS Server? ...
    (microsoft.public.windows.server.sbs)
  • Re: webmail server & getpwnam "inherently unreliable" -- Precisely why is that?
    ... > but in the end the machine is still using the same old smtp plain text ... This is a huge security risk, but you can get around it safely if the ... Webmail is only available through SSL ...
    (comp.security.unix)
  • Re: webmail server & getpwnam "inherently unreliable" -- Precisely why is that?
    ... > but in the end the machine is still using the same old smtp plain text ... This is a huge security risk, but you can get around it safely if the ... Webmail is only available through SSL ...
    (comp.os.linux.security)