[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