relatedcode/Messenger 7bcd20b - Broken Access Control

Summary

Namerelatedcode/Messenger 7bcd20b - Broken Access Control
Code name
Productrelatedcode/Messenger
Affected versionsVersion 7bcd20b
StatePublic
Release date2022-10-14

Vulnerability

KindImproper authorization control for web services
Rule
RemoteYes
CVSSv3.1 VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSSv3.1 Base Score6.5
Exploit availableYes
CVE ID(s)

Description

Relatedcode/Messenger version 7bcd20b allows an authenticated external attacker to access existing chats in the workspaces of any user of the application. This is possible because the application does not validate permissions correctly.

Vulnerability

The application does not validate the application permissions correctly. Thanks to this we can access confidential information of any user registered on the server. Here we will see how an attacker manages to access the internal chats of the victim user:

image.png

Exploitation

To exploit this broken access control, one must first exploit another vulnerability present in the application. This vulnerability involves the disclosure of sensitive information.

Thanks to it I was able to gather the necessary data to be able to obtain the internal chat logs of other users of the application:

image.png

Impact

An authenticated remote attacker can access internal chat logs of arbitrary users of the application.

Our security policy

We have reserved the CVE-2022-41708 to refer to this issue from now on.

System Information

  • Version: relatedcode/Messenger 7bcd20b

  • Operating System: GNU/Linux

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Carlos Bello from Fluid Attacks' Offensive Team.

References

Vendor page https://github.com/relatedcode/Messenger

Timeline

Time-lapse-logo

2022-09-23

Vulnerability discovered.

Time-lapse-logo

2022-09-23

Vendor contacted.

Time-lapse-logo

2022-09-23

Vendor replied acknowledging the report.

Time-lapse-logo

2022-09-23

Vendor Confirmed the vulnerability.

Time-lapse-logo

2022-10-14

Public Disclosure.

Fluid Logo Footer

Hacking software for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.