ignore security and it'll go away

ATMAIL WebMail Admin 6.3.4 Cross Site Scripting

ATMAIL WebMail Admin 6.3.4 Cross Site Scripting
Posted Jan 8, 2012
Authored by Benjamin Kunz Mejri, longrifle0x | Site vulnerability-lab.com

ATMAIL WebMail Admin version 6.3.4 suffers from multiple cross site scripting / malicious script insertion vulnerabilities.

tags | exploit, vulnerability, xss
MD5 | 7f71f1e2873e26089862e8406271102a

ATMAIL WebMail Admin 6.3.4 Cross Site Scripting

Change Mirror Download
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@vulnerability-lab.com or support@vulnerability-lab.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close