PT-2024-28630 · Unknown · Matrix-Appservice-Irc
Progval
·
Published
2024-07-05
·
Updated
2024-07-08
·
CVE-2024-39691
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
matrix-appservice-irc versions prior to 2.0.1
Description
The issue arises from the reliance on the Matrix homeserver-provided timestamp to determine user access to events. A malicious Matrix homeserver can fabricate this timestamp to trick the bridge into leaking room messages it should not have access to. The bridge tracks event timestamps internally in version 2.0.1, dropping the reliance on
origin server ts. As a workaround, limiting the amount of information leaked is possible by setting a reply template that doesn't contain the original message.Recommendations
For versions prior to 2.0.1, update to version 2.0.1 or later to resolve the issue.
As a temporary workaround, consider setting a reply template that doesn't contain the original message to limit the amount of information leaked.
Exploit
Fix
Improper Handling of Exceptional Conditions
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Matrix-Appservice-Irc