exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

HexView Security Advisory 2601-20-05.03

HexView Security Advisory 2601-20-05.03
Posted Jan 29, 2005
Authored by HexView, ShineShadow

Multiple versions of the Merak Mail Server with Icewarp Web Mail suffer from various flaws. Included are cross site scripting, path disclosure, arbitrary file manipulation/access, and weak password encryption vulnerabilities.

tags | exploit, web, arbitrary, vulnerability, xss
SHA-256 | 2f72998322fa1ea4c6c2c644becc01d4932c53fb305167832b92978f9a58c796

HexView Security Advisory 2601-20-05.03

Change Mirror Download


ShineShadow Security Report 26012005-03

TITLE: Multiple vulnerabilities in Icewarp Web Mail 5.3.0 : New holes.

BACKGROUND

Merak Mail Server, with the revolutionary Merak Mail Server GroupWare Server, cutting-edge Merak Mail Server Instant Antispam and much more, is the fastest, most stable, secure and 100% virus free mail server on the market today.
Every day companies choose Merak Mail Server's stability, speed, security, functionality, scalability and multi-tiered delegated manageability over products costing thousands of dollars more yet lacking the sophistication that Merak delivers.
In less than 10 minutes you can have the same professional email server that organizations such as NATO, the U.S. Navy, the FBI, Toyota, the U.S. Government, and many ISP Providers and Developers depend on every day.

Source: www.MerakMailServer.com

VULNERABLE PRODUCTS

MERAK Mail Server 7.6.0 with Icewarp Web Mail 5.3.0
MERAK Mail Server 7.6.4r with Icewarp Web Mail 5.3.2 (vulnerabilities #2,#3 only)

DETAILS

1. Multiple cross-site scripting (XSS) vulnerabilities.

Description:
Remote user, who HAS account on Merak Mail Server, can execute cross-site scripting (XSS) attack.

Vulnerable pages:
login.html
accountsettings_add.html
calendar_addnote.html
calendar_addtask.html
calendar_addevent.html

Examples:
http://localhost:32000/mail/login.html?username=[xss_here]
http://localhost:32000/mail/accountsettings_add.html?id=[]&Save_x=1&account[EMAIL]=hacker&account[HOST]=blackhat.org&account[HOSTUSER]=hacker&account[HOSTPASS]=31337&account[HOSTPASS2]=31337&accountid=[xss_here]
http://localhost:32000/mail/calendar.html -> AddNote -> [Title]= [xss_here]
http://localhost:32000/mail/calendar.html -> AddTask -> [Note]=[xss_here]
http://localhost:32000/mail/calendar.html -> AddEvent -> [Note]=[xss_here]
http://localhost:32000/mail/calendar.html -> AddEvent -> [Title]= [xss_here]
http://localhost:32000/mail/calendar.html -> AddEvent -> [Location]= [xss_here]

2. Full install path disclosure.

Description:
Remote user, who HAS account on Merak Mail Server, can disclosure full install path of the product. It could be used during attack on an affected system.

Vulnerable pages:
calendar_d.html
calendar_m.html
calendar_w.html
calendar_y.html

Examples:
http://localhost:32000/mail/calendar_d.html?id=[sessionid]
http://localhost:32000/mail/calendar_m.html?id=[sessionid]
http://localhost:32000/mail/calendar_w.html?id=[sessionid]
http://localhost:32000/mail/calendar_y.html?id=[sessionid]

Note: MERAK Mail Server 7.6.4r with Icewarp Mail Server 5.3.2 also vulnerable to it.

3. Simple encryption of users passwords.

Description:
Very simple encryption of users passwords in users.cfg, settings.cfg (XOR), users.dat, user.dat (BASE64). If attacker will get access to this files then he could take users and administrators passwords.

Vulnerable files:

[MerakDir] \config\settings.cfg
[MerakDir] \config\ [Domain] \users.cfg
[MerakDir] \webmail\config\users.dat
[MerakDir] \webmail\users\ [Domain] \ [User] \user.dat

Note: MERAK Mail Server 7.6.4r with Icewarp Mail Server 5.3.2 also vulnerable to it.

4. File creation with arbitrary content on remote system.

Description:
Remote user, who HAS account on Merak Mail Server, can create text file on remote server with arbitrary content (include special characters). Path to the file will be [MerakDir]\webmail\users\[Domain]\[User]\accounts.dat.

Vulnerable page: accountsettings_add.html

Example:
http://localhost:32000/mail/accountsettings_add.html?id=[sessionid]&Save_x=1&account[EMAIL]=hacker&account[HOST]=blackhat.org&account[HOSTUSER]=hacker&account[HOSTPASS]=31337&account[HOSTPASS2]=31337&accountid=[arbitary text]


5. Moving and viewing arbitrary files on remote system.

Description:
Remote user, who HAS account on Merak Mail Server, can move arbitrary files on local file system of the target. The file will be moved to [MerakDir]\webmail\users\[Domain]\[User] folder and will be renamed to import.tmp. After that attacker can view this file and import/export it to/from address book. This vulnerability could be used for causing denial of service (DOS) conditions or access to arbitrary files on affected system. From files user.dat, users.dat attacker could get users and administrators passwords (vulnerability #3) and take complete control of a Merak Mail Server. With administrator privileges on Merak Mail Server the attacker using [Executables] function of the product could execute arbitrary commands on remote system with mailserver privileges. If Merak Mail Server was been running under administrator account then attacker could take complete control of an affected system. This vulnerability also could be used for verifying existing of the arbitrary files on
remote system.

Vulnerable page: importaction.html

Example:
http://localhost:32000/importaction.html?id=[sessionid]&importfile=[arbitrary path]&action=upload&Import=1&importfile_size=1000000


EXPLOITATION

IceWarp Web Mail (control.exe service) must be running on Merak Mail Server. Account on Merak Mail Server is needed.

WORKAROUND

Upgrade to MERAK Mail Server 7.6.4r with Icewarp Web Mail 5.3.2 or disable Icewarp Web Mail service (Control.exe).

VENDOR STATUS

Not contacted.

SUMMARY

An attacker who successfully exploited vulnerabilities described in this report could take complete control of a Merak Mail Server 7.6.0 or an affected remote system. Merak Mail Server 7.6.4r with Icewarp Web Mail 5.3.2 also vulnerable to other (undescribed in this report) critical vulnerabilities. An attacker who successfully exploited of this undescribed vulnerabilities could take complete control of a Merak Mail Server or an affected remote system. I am not advice to use this product, you must disable Icewarp Web Mail service.

CREDITS

ShineShadow, undependent IT security expert.
To get more information, please contact me by e-mail.

26.01.2005
ShineShadow,
ss_contacts@hotmail.com
Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close