[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1153120185.20005.3563.camel@ts2.intnet>
Date: Mon, 17 Jul 2006 09:09:44 +0200
From: Secunia Research <remove-vuln@...unia.com>
To: vuln@...unia.com
Cc: bugtraq@...urityfocus.com
Subject: Secunia Research: VisNetic Mail Server Two File Inclusion
Vulnerabilities
======================================================================
Secunia Research 17/07/2006
- VisNetic Mail Server Two File Inclusion Vulnerabilities -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Secunia........................................................8
Verification.........................................................9
======================================================================
1) Affected Software
* Visnetic Mail Server version 8.3.5.
Other versions may also be affected.
======================================================================
2) Severity
Rating: Highly Critical
Impact: System access
Exposure of sensitive information
Where: Remote
======================================================================
3) Description of Vulnerability
Secunia Research has discovered two vulnerabilities in Visnetic Mail
Server, which can be exploited by malicious users and by malicious
people to disclose potentially sensitive information and to compromise
a vulnerable system.
1) Input passed to the "language" and "lang_settings" parameters in
"/accounts/inc/include.php" and "/admin/inc/include.php" isn't
properly sanitised by the "securepath()" function before being used to
include files. This can be exploited to include arbitrary files from
local resources on the Windows platform using full pathnames. This
can further be exploited to execute arbitrary PHP code by injecting
the code into the mail server's log file and including it.
Example:
http://[host]:32000/admin/inc/include.php?
language=0&lang_settings[0][1]=c:\[file]%00
The vulnerability is related to #1 in:
SA17865
Successful exploitation allows execution of arbitrary PHP code on
a vulnerable server without requiring authentication.
2) Input passed to the "language" parameter in "/mail/settings.html"
isn't properly validated before being saved to the database. This can
be exploited in conjunction with overwrite of the "lang_settings"
variable, which isn't properly sanitised by the "validatefolder()"
function, to include arbitrary files from local resources using
full pathnames, and from remote Windows shared folders using UNC
pathnames.
Examples:
http://[host]:32000/mail/settings.html?
id=[current_id]&Save_x=1&language=TEST
http://[host]:32000/mail/index.html?
id=[curent_id]&lang_settings[TEST]=test;
&lang_settings[TEST]=test;c:\[file]%00;
http://[host]:32000/mail/index.html
?id=[curent_id]&lang_settings[TEST]=test;
&lang_settings[TEST]=test;\\[host]\[share]\[file]%00;
Successful exploitation allows execution of arbitrary PHP code on a
vulnerable server but requires a valid logon.
The vulnerability is related to #3 in:
SA17865
======================================================================
4) Solution
Update to version 8.5.0.5.
======================================================================
5) Time Table
21/02/2006 - Initial vendor notification.
21/02/2006 - Initial vendor reply.
01/06/2006 - Vendor reminder.
20/06/2006 - Vendor reminder.
13/07/2006 - Vendor reminder.
14/07/2006 - Fixed version released.
17/07/2006 - Public disclosure.
======================================================================
6) Credits
Discovered by Tan Chew Keong, Secunia Research.
======================================================================
7) References
SA17865:
http://secunia.com/advisories/17865/
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2006-0817 (#1) and CVE-2006-0818 (#2) for the vulnerabilities.
======================================================================
8) About Secunia
Secunia collects, validates, assesses, and writes advisories regarding
all the latest software vulnerabilities disclosed to the public. These
advisories are gathered in a publicly available database at the
Secunia website:
http://secunia.com/
Secunia offers services to our customers enabling them to receive all
relevant vulnerability information to their specific system
configuration.
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/secunia_security_advisories/
======================================================================
9) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2006-14/advisory/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================
Powered by blists - more mailing lists