OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA16665] Winmail Server Multiple Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Fri Nov 18 2005 - 02:47:12 CST


TITLE:
Winmail Server Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA16665

VERIFY ADVISORY:
http://secunia.com/advisories/16665/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
From remote

SOFTWARE:
Winmail Server 4.x
http://secunia.com/product/4370/

DESCRIPTION:
Secunia Research has discovered some vulnerabilities in Winmail
Server, which can be exploited by malicious people to conduct
cross-site scripting and script insertion attacks, and overwrite
arbitrary files.

1) Input passed to the "sid" parameter in "admin/main.php" isn't
properly verified, before it is used to create session files. This
can be exploited to overwrite arbitrary files with session
information via directory traversal attacks.

2) Input passed to the "retid" parameter in "badlogin.php" isn't
properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.

3) Input passed in the mail body and the "Content-Type" header of
incoming HTML mails isn't properly sanitised before being displayed
to the user. This can be exploited to inject arbitrary HTML and
script code, which will be executed in a user's browser session in
context of an affected site when the malicious mail is viewed.

Example:
A "javascript:" URL in an iframe tag. Other variants are also
possible.

4) The problem is that attachments of incoming mails are opened
insecurely in the browser. This can be exploited to execute arbitrary
HTML and script code in a user's browser session in context of an
affected site by tricking a user into opening a malicious
attachment.

The vulnerabilities have been confirmed in version 4.2 (build 0824).
Other versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
Secunia Research

ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2005-58/advisory/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------