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

Micro Focus GroupWise Cross Site Scripting / Overflows

Micro Focus GroupWise Cross Site Scripting / Overflows
Posted Aug 25, 2016
Authored by Wolfgang Ettlinger | Site sec-consult.com

Micro Focus GroupWise version 2014 R2 SP1 and below suffer from buffer overflow, cross site scripting, and integer overflow vulnerabilities.

tags | exploit, overflow, vulnerability, xss
advisories | CVE-2016-5760, CVE-2016-5761, CVE-2016-5762
SHA-256 | 259e1178ca32777e61016eaf9c26499e22db2bed9b9f9028eb31c3fc116900c6

Micro Focus GroupWise Cross Site Scripting / Overflows

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20160825-0 >
=======================================================================
title: Multiple vulnerabilities
product: Micro Focus GroupWise
vulnerable version: GroupWise 2014 R2 (<=SP1)
GroupWise 2014
(unsupported versions may be affected)
fixed version: GroupWise 2014 R2 Service Pack 1 Hot Patch 1
CVE number: CVE-2016-5760, CVE-2016-5761, CVE-2016-5762
impact: critical
homepage: https://www.novell.com/products/groupwise/
found: 2016-07
by: W. Ettlinger (Office Vienna)
SEC Consult Vulnerability Lab

An integrated part of SEC Consult
Bangkok - Berlin - Linz - Montreal - Moscow
Singapore - Vienna (HQ) - Vilnius - Zurich

https://www.sec-consult.com

=======================================================================

Vendor description:
-------------------
"Micro Focus GroupWise is a complete collaboration software solution that
provides email, calendaring, instant messaging, task management, contact and
document management functions. GroupWise has long been praised by customers and
industry watchers for its security and reliability."

URL: https://www.novell.com/products/groupwise/


Business recommendation:
------------------------
During a quick security check SEC Consult found three vulnerabilities in the
Micro Focus GroupWise server applications.

As these partly critical vulnerabilities were identified during a short time
frame SEC Consult recommends to conduct a thorough technical security audit.


Vulnerability overview/description:
-----------------------------------
1) Reflected cross site scripting in the administrator console (CVE-2016-5760)
Two reflected cross site scripting vulnerabilities have been identified in the
gwadmin-console application. An attacker could potentially take over an
administrator's session.

2) Persistent cross site scripting via emails (CVE-2016-5761)
By sending a single email to a victim an attacker could take over the victim's
email account. For a successful exploitation the victim has to click on a
link in an email opened in GroupWise WebAccess.

3) Heap-based Buffer Overflow / Integer Overflow (CVE-2016-5762)
By sending a crafted value for the username or the password to GroupWise
WebAccess or the GroupWise Post Office Agent during login an attacker can
overwrite heap memory. In order to exploit this vulnerability no user
authentication is required.
PLEASE NOTE: A successful exploitation of this vulnerability may allow an
attacker to execute code remotely. As SEC Consult only conducted a very quick
security check this has not been verified.


Proof of concept:
-----------------
1) Reflected cross site scripting in the administrator console
The following links demonstrate reflected cross site scripting vulnerabilities:

https://testhost:9710/gwadmin-console/install/login.jsp?token=asdf%22%2balert%28%27xss%27%29%2b%22
https://testhost:9710/gwadmin-console/index.jsp#poa:%3Cimg%20src=x%20onerror=alert%28%27xss%27%29%3E

2) Persistent cross site scripting via emails
The following Python fragment demonstrates the generation of a hyperlink that,
when embeded into an HTML email, would, upon clicking it, open a new mail dialog.

---- snip ----
msg = """
<a
href="javascript:top.opener.document.getElementById(String.fromCharCode($charcode)).firstChild.firstChild.click()"
target = _self>click me</a>
""".replace('$charcode', ','.join(str(ord(x)) for x in list('idNewPopupMenu')))
---- snip ----

3) Heap-based Buffer Overflow / Integer Overflow
When a username or password longer than 65332 (2^16 - 3) is specified, an
overflow causes the Post Office Agent to allocate too little memory.

The following pseudocode shows how the memory to be allocated is calculated
based on the input length.

((uint16_t) ((<length>) + 3) & 0xFFFC) + 1)

Therefore, a value of 65533 would cause the application to allocate 1 byte. By
modifying this value accordingly, an attacker can cause the application to
allocate an arbitrary amount of memory.

The user-specified value is then copied into this buffer until a NUL-byte is
reached. This allows an attacker to write non-NUL bytes after the allocated
heap chunk.


Vulnerable / tested versions:
-----------------------------
The version 2014 R2 SP1 of Micro Focus GroupWise was found to be
vulnerable. This version was the latest version at the time of the discovery.


Vendor contact timeline:
------------------------
2016-07-05: Contacting vendor through security@novell.com
2016-07-06: Micro Focus was able to reproduce the vulnerabilities
2016-07-25: Micro Focus: The issues have been resolved in development
2016-08-12: Micro Focus: Hotpatch is currently undergoing QA
2016-08-25: Coordinated release of security advisory


Solution:
---------
The "GroupWise 2014 R2 Service Pack 1 Hot Patch 1" should be applied
immediately. This update can be found at:
http://download.novell.com/Download?buildid=RrXPw5FEDLg~ (Linux)
http://download.novell.com/Download?buildid=aSiFyZ1z1SY~ (Windows)

Knowledge base references at Micro Focus:
https://www.novell.com/support/kb/doc.php?id=7017973 (#1)
https://www.novell.com/support/kb/doc.php?id=7017974 (#2)
https://www.novell.com/support/kb/doc.php?id=7017975 (#3)


Workaround:
-----------
None


Advisory URL:
-------------
https://www.sec-consult.com/en/Vulnerability-Lab/Advisories.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SEC Consult Vulnerability Lab

SEC Consult
Bangkok - Berlin - Linz - Montreal - Moscow
Singapore - Vienna (HQ) - Vilnius - Zurich

About SEC Consult Vulnerability Lab
The SEC Consult Vulnerability Lab is an integrated part of SEC Consult. It
ensures the continued knowledge gain of SEC Consult in the field of network
and application security to stay ahead of the attacker. The SEC Consult
Vulnerability Lab supports high-quality penetration testing and the evaluation
of new offensive and defensive technologies for our customers. Hence our
customers obtain the most current information about vulnerabilities and valid
recommendation about the risk profile of new technologies.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interested to work with the experts of SEC Consult?
Send us your application https://www.sec-consult.com/en/Career.htm

Interested in improving your cyber security with the experts of SEC Consult?
Contact our local offices https://www.sec-consult.com/en/About/Contact.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mail: research at sec-consult dot com
Web: https://www.sec-consult.com
Blog: http://blog.sec-consult.com
Twitter: https://twitter.com/sec_consult

EOF W. Ettlinger / @2016


Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    17 Files
  • 21
    May 21st
    18 Files
  • 22
    May 22nd
    7 Files
  • 23
    May 23rd
    111 Files
  • 24
    May 24th
    27 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    6 Files
  • 28
    May 28th
    12 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

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close