[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Full-disclosure] ATMAIL WebMail Admin v6.3.4 - Multiple Vulnerabilities



Title:
======
ATMAIL WebMail Admin v6.3.4 - Multiple Vulnerabilities


Date:
=====
2012-01-07


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=376


VL-ID:
=====
376


Introduction:
=============
Atmail is a commercial Linux messaging platform provider. The company was 
founded in 2001 and has its company headquarters located 
in Peregian Beach, Australia. The company develops webmail, mail-server and 
groupware solutions built for Linux and other 
Unix operating systems, and includes the source code under a commercial license.

Atmail provides 2 different web based application which are integrated on 
appliances or different software types.
The first service the the ATWebMail Application the secound is the ATWebMail 
Admin Application.

(Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/@Mail)


Abstract:
=========
A Vulnerability-Lab researcher discovered multiple Web Vulnerabilities on the 
famous ATMAIL Web Admin Application v6.3.4.


Report-Timeline:
================
2012-11-01:     Vendor Notification
2012-01-07:     Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================
ATMAIL
Product: WebMail Admin v6.3.4


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
Multiple persistent input validation vulnerabilities are detected on the ATMAIL 
WebMail Admin Application v6.3.4.
The vulnerability allows an remote attacker to inject persistent malicious 
script code. Successful exploitation
can results in persistent content manipulation, server-side session hijacking & 
module context manipulation.

Vulnerable Module(s):
                                [+] UserManagement & Listing - FirstName or 
LastName
                                [+] Exception-Handling of the Application - 
Output
                                [+] Mass-Mail Input & Output Listing



Picture(s):
                                ../1.1.png
                                ../1.2.png
                                ../2.png


Proof of Concept:
=================
The vulnerabilities can be exploited by remote attacker with low required user 
inter action or 
by local low privileged user accounts. For demonstration or reproduce ...


Code Review: Exception Handling of the Application Service
 
<div id="primary_content_inner" style="padding: 20px; overflow: auto; height: 
100%;">
                        
?????SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error 
in your SQL syntax; check the manual that 
corresponds to your MySQL server version for the right syntax to use near 
'"><EXECUTION OF MALICIOUS SCRIPT CODE")' 
<="" where'="" at="" line="" 1="" <h2="">Application error</h2> 

         
                <h3>Exception information:<
/h3> 
                <p> 
                <b>Message:<br></b> SQLSTATE[42000]: Syntax error or access 
violation: 1064 You have an error in your SQL syntax; check the manual that 
corresponds to your MySQL server version for the 
right syntax to use near '"><iframe src=a onload=alert("PERSISTENT") < where' 
at line 1 
                </p> 
                        
<strong>Thrown in:</strong> 
/usr/local/atmail/webmail/library/Zend/Db/Statement/Pdo.php, Line #:234, Code 
#: 42000
                
<h3>Stack trace:</h3> 
                <pre>#0 
/usr/local/atmail/webmail/library/Zend/Db/Statement.php(300): 
Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/local/atmail/webmail/library/Zend/Db/Adapter/Abstract.php(468): 
Zend_Db_Statement->execute(Array)
#2 /usr/local/atmail/webmail/library/Zend/Db/Adapter/Pdo/Abstract.php(238): 
Zend_Db_Adapter_Abstract->query('select count(id...', Array)
#3 /usr/local/atmail/webmail/library/Zend/Db/Adapter/Abstract.php(799): 
Zend_Db_Adapter_Pdo_Abstract->query('select count(id...', Array)
#4/usr/local/atmail/webmail/application/models/api.php(3270): Zend   ...    ...



Code Review: Adding New User - Userverwaltung  or User Registration

<tr>
                <td class="contact_field" align="top">
                        
Firstname               </td>
                <td>
                        
<input class="" maxlength="128" name="UserFirstName" id="UserFirstName"
value="<script>EXECUTION OF MALICIOUS SCRIPT CODE)</script>">

</td>
        </tr>

        <tr>
                <td class="contact_field" align="top">
Lastname                </td>
                <td>

<input class="default" maxlength="128" name="UserLastName" id="UserLastName" 
value="Last Name">
                
</td>
        </tr>




Code Review: Mass Mail - Output

<td class="label">Filter by domain:</td>
<td class="filterinput">
<input name="aliasFilter" id="aliasFilter" class="panelFilter" value=""
><script>EXECUTION OF MALICIOUS SCRIPT CODE)</script>" type="text"> 
<small>Specify a domain or email to filter results</small>
</td>
<td class="filterdomain">
 
</td>
</tr>               
</tbody></table>



Reference(s):
                                        ../Exception-Handling-PoC.txt
                                        ../MassMail-PoC.txt
                                        ../NewUSer-Poc.txt


Risk:
=====
The security risk of the persistent web vulnerabilities are estimated as 
high(-).


Credits:
========
Vulnerability Research Laboratory - Benjamin Kunz Mejri (Rem0ve)  &  Ucha 
Gobejishvili (longrifle0x) 


Disclaimer:
===========
The information provided in this advisory is provided as it is without any 
warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and 
capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, 
indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have 
been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential 
or incidental damages so the foregoing limitation 
may not apply. Any modified copy or reproduction, including partially usages, 
of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified 
form is granted. All other rights, including the use of 
other media, are reserved by Vulnerability-Lab or its suppliers.

                                                Copyright © 
2011|Vulnerability-Lab




-- 
Website: www.vulnerability-lab.com ; vuln-lab.com or vuln-db.com
Contact: admin@xxxxxxxxxxxxxxxxxxxxx or support@xxxxxxxxxxxxxxxxxxxxx


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/