Skip to content
New issue

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

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

Already on GitHub? # to your account

fix remote denial of service #21

Merged
1 commit merged into from
Nov 10, 2010
Merged

fix remote denial of service #21

1 commit merged into from
Nov 10, 2010

Conversation

mmitch
Copy link
Contributor

@mmitch mmitch commented Nov 10, 2010

Special nicks can crash irssi, for details see the commit log entry.
Should be fixed before somebody actually exploits this :-)

I nickname this the Lalufu exploit:

Tweets by special nicknames like '__indexes', '__windows' and so on
will corrupt internal data structures and most likely result in a "Not
an ARRAY reference" error and crash the whole twirssi.pl script.
Subsequent restarts of the script (if the crash is noticed in the
first place) will most likely result in another crash as the offending
tweet will most likely be downloaded again.

It is trivial to register one of these usernames and with a single
tweet containing the #twirssi hashtag, it is possible to crash many
twirssi instances netwide at once as twirssi users are likely to
follow the #twirssi hashtag.

The fix is rather simple and blunt: it blackholes any tweets coming
from those nicks.

In the long run, the internal $state reprensentation should be
refactored.
This pull request was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant