Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ident server allows arbitrary enumeration, and can return wrong info #1834

Open
f0x52 opened this issue Dec 6, 2024 · 0 comments
Open

Ident server allows arbitrary enumeration, and can return wrong info #1834

f0x52 opened this issue Dec 6, 2024 · 0 comments

Comments

@f0x52
Copy link
Contributor

f0x52 commented Dec 6, 2024

The built-in ident server responds to requests from any ip, which can let arbitrary parties enumerate mxid's that are connected through a specific bridge. RFC1413 explicitly states that 'a user on address A may only query the server on address B about connections between A and B'.

Also, in the current (barebones) implementation, IRC clients are solely keyed by their source TCP port number, which isn't guaranteed to be unique; only the full tuple of (source ip, source port, target ip, target port) is. This is increasingly more likely to overlap when using individual v6 addresses for clients or connecting to different networks, as technically every single one of those could be using the same source port..

Originally reported to [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant