Ticket #5029 defect closed fixed
Twisted IRCClient Remote DoS
| Reported by: | XiX | Owned by: | jonathanj |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | words | Keywords: | IRCClient DoS security |
| Cc: | ralphm | Branch: | branches/ctcp-dos-5029 |
| Author: | jonathanj | Launchpad Bug: |
Description (last modified by glyph) (diff)
A flaw exists within IRCClient's CTCP implementation. Multiple CTCP requests can be sent on one line to the client. This can be exploited by a malicious user bundling many erroneous CTCP requests on one line, causing the Twisted client to flood back an errmsg for every request & effectively kill itself due to excess flood.
Example:
<XiX> \x01\\x01 <pyn> ERRMSG \\ None: Unknown query '\\' <XiX> \x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01\x01\\x01 <pyn> ERRMSG \\ None: Unknown query '\\' <pyn> ERRMSG \\ None: Unknown query '\\' <pyn> ERRMSG \\ None: Unknown query '\\' <pyn> ERRMSG \\ None: Unknown query '\\' <pyn> ERRMSG \\ None: Unknown query '\\' <pyn> ERRMSG \\ None: Unknown query '\\' * pyn has quit (Excess Flood)
Change History
Note: See
TracTickets for help on using
tickets.
