Description
Rocket.Chat is an open-source, secure, fully customizable communications platform. Prior to 8.5.0, 8.4.2, 8.3.4, 8.2.4, 8.1.5, 8.0.6, 7.13.8, and 7.10.12, in the visitors.info endpoint, https://developer.rocket.chat/apidocs/get-visitor-information-by-id-1, token is returned in the response. It looks like there's no use case for the token to be present in the response and it would be a good security practice to remove it altogether. This vulnerability is fixed in 8.5.0, 8.4.2, 8.3.4, 8.2.4, 8.1.5, 8.0.6, 7.13.8, and 7.10.12.
Problem types
CWE-285: Improper Authorization
Product status
>= 8.4.0-rc.0, < 8.4.2
>= 8.3.0-rc.0, < 8.3.4
>= 8.2.0-rc.0, < 8.2.4
>= 8.1.0-rc.0, < 8.1.5
>= 8.0.0-rc.0, < 8.0.6
>= 7.11.0-rc.0, < 7.13.8
< 7.10.12
References
github.com/...t.Chat/security/advisories/GHSA-cqj7-h8cj-jmf2
github.com/...t.Chat/security/advisories/GHSA-cqj7-h8cj-jmf2