Skip to content

Flood vulnerability #23

@dubux

Description

@dubux

The bots current state responds to commands from ANY user on irc. Example:

.load yweather
You aren't allowed to do that. (requires admin)
.load yweather
You aren't allowed to do that. (requires admin)
.load yweather
You aren't allowed to do that. (requires admin)
.load yweather
You aren't allowed to do that. (requires admin)

This can easily be exploited with a 2 man botnet to flood the bot off a server over and over again. My proposal is to limit the amount of commands that can be executed in a certain time period or only respond verbosely to so many commands in a given time period. The time period should probably be user defined within the configuration file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions